diff --git a/.drone.yml b/.drone.yml index d0541de..f49242b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,7 @@ trigger: - main steps: - - name: docker-default + - name: docker image: plugins/docker settings: registry: git.riksolo.com @@ -18,30 +18,4 @@ steps: - latest - ${DRONE_COMMIT} password: - from_secret: dockertoken - - - name: docker-rblicht - image: plugins/docker - settings: - registry: git.riksolo.com - username: riksolo - repo: git.riksolo.com/${DRONE_REPO,,} - build_args: - - SITE=rblicht - tags: - - latest-rblicht - - ${DRONE_COMMIT}-rblicht - password: - from_secret: dockertoken - - - name: trigger docker-compose release - image: plugins/downstream - settings: - server: https://drone.riksolo.com - token: - from_secret: drone_token - repositories: - - RikSolo/docker-compose - depends_on: - - docker-default - - docker-rblicht \ No newline at end of file + from_secret: dockertoken \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 5b64798..781c554 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,6 @@ FROM node:22 WORKDIR /usr/src/app -ARG SITE=default -ENV SITE=$SITE - COPY package*.json ./ RUN npm install ADD . . diff --git a/content/_data/site.js b/content/_data/site.js deleted file mode 100644 index e6bccc5..0000000 --- a/content/_data/site.js +++ /dev/null @@ -1,8 +0,0 @@ -export default function () { - return { - title: "Rik Berkelder", - url: process.env.site == "rblicht" ? "https://rblicht.nl" : "https://riksolo.com", - author: "Rik Berkelder", - site: process.env.SITE || 'default' - }; -} \ No newline at end of file diff --git a/content/blogposts/blogposts.11tydata.js b/content/blogposts/blogposts.11tydata.js index dd1cae7..51c301b 100644 --- a/content/blogposts/blogposts.11tydata.js +++ b/content/blogposts/blogposts.11tydata.js @@ -1,5 +1,5 @@ const conf = { - tags: "blogpost", + tags: "blogposts", layout: "blogpost.njk", eleventyComputed: { permalink(data) { diff --git a/content/includes/highlights.njk b/content/includes/highlights.njk deleted file mode 100644 index 6097482..0000000 --- a/content/includes/highlights.njk +++ /dev/null @@ -1,11 +0,0 @@ - \ No newline at end of file diff --git a/content/includes/navbar.njk b/content/includes/navbar.njk deleted file mode 100644 index 56eaef6..0000000 --- a/content/includes/navbar.njk +++ /dev/null @@ -1,31 +0,0 @@ -{% macro navItem(title, url, hyphen=true, target='_self') %} - - {{title}} - {% if hyphen %} - {% endif %} - -{% endmacro %} - -
- -
\ No newline at end of file diff --git a/content/includes/skills.njk b/content/includes/skills.njk deleted file mode 100644 index 838979f..0000000 --- a/content/includes/skills.njk +++ /dev/null @@ -1,21 +0,0 @@ -
-
- Lighting & AV - -
-
- Software & IT - -
-
\ No newline at end of file diff --git a/content/layouts/base-nonav.njk b/content/layouts/base-nonav.njk deleted file mode 100644 index b206e33..0000000 --- a/content/layouts/base-nonav.njk +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - {%if tags.includes("blogpost")%} - - {%if description %} - - - {% endif %} - - - - - {%endif%} - - - {% if title %}{{title}} | {% endif %}{{site.title}} - - - - - {{content | safe}} - - - - - - - - - \ No newline at end of file diff --git a/content/layouts/base.njk b/content/layouts/base.njk index e1f9f3c..0744101 100644 --- a/content/layouts/base.njk +++ b/content/layouts/base.njk @@ -1,7 +1,82 @@ ---- -layout: 'base-nonav.njk' ---- +{% macro navItem(title, url, hyphen=true, target='_self') %} + + {{title}} + {% if hyphen %} - {% endif %} + +{% endmacro %} -{%include "navbar.njk"%} + + -{{content | safe}} \ No newline at end of file + + + + + + + + + + + + + + + + + + {%if tags.includes("blogpost")%} + + {%if description %} + + + {% endif %} + + + + + {%endif%} + + {% if title %}{{title}} | {% endif %}{{site.title}} + + + +
+ +
+ + {{content | safe}} + + + + + + + + \ No newline at end of file diff --git a/content/layouts/portfolio.njk b/content/layouts/portfolio.njk index 48d2aeb..f4db953 100644 --- a/content/layouts/portfolio.njk +++ b/content/layouts/portfolio.njk @@ -14,7 +14,7 @@ layout: base.njk