From 0971cd1c10b84c129356807501e57cb1b8b8cc18 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sun, 2 Apr 2023 12:11:49 +0200 Subject: [PATCH] feat: remove base --- .drone.yml | 28 ------------- .gitmodules | 3 -- .hugo_build.lock | 0 .idea/.gitignore | 8 ---- .idea/blog-2.iml | 9 ----- .idea/modules.xml | 8 ---- .idea/vcs.xml | 7 ---- Caddyfile | 10 ----- Dockerfile | 4 -- archetypes/default.md | 6 --- conf/nginx.conf | 19 --------- config.yaml | 76 ----------------------------------- content/post/_index.md | 7 ---- content/post/devtooling.md | 4 -- content/post/start-of-blog.md | 12 ------ docker-compose.dev.yaml | 7 ---- docker-compose.prod.yaml | 6 --- renovate.json | 3 -- themes/anubis | 1 - 19 files changed, 218 deletions(-) delete mode 100644 .drone.yml delete mode 100644 .gitmodules delete mode 100644 .hugo_build.lock delete mode 100644 .idea/.gitignore delete mode 100644 .idea/blog-2.iml delete mode 100644 .idea/modules.xml delete mode 100644 .idea/vcs.xml delete mode 100644 Caddyfile delete mode 100644 Dockerfile delete mode 100644 archetypes/default.md delete mode 100644 conf/nginx.conf delete mode 100644 config.yaml delete mode 100644 content/post/_index.md delete mode 100644 content/post/devtooling.md delete mode 100644 content/post/start-of-blog.md delete mode 100644 docker-compose.dev.yaml delete mode 100644 docker-compose.prod.yaml delete mode 100644 renovate.json delete mode 160000 themes/anubis diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 3634944..0000000 --- a/.drone.yml +++ /dev/null @@ -1,28 +0,0 @@ -kind: pipeline -name: default -type: docker -steps: - - name: submodules - image: alpine/git - commands: - - git submodule update --init --recursive - - name: blog - image: plugins/docker - settings: - username: kasperhermansen - password: - from_secret: - docker_secret - repo: kasperhermansen/kasperhermansen-blog - tags: latest - - name: send telegram notification - image: appleboy/drone-telegram - settings: - token: - from_secret: telegram_token - to: 2129601481 - format: markdown - depends_on: - - blog - when: - status: [failure, success] \ No newline at end of file diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 5a69223..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "themes/anubis"] - path = themes/anubis - url = https://github.com/mitrichius/hugo-theme-anubis.git diff --git a/.hugo_build.lock b/.hugo_build.lock deleted file mode 100644 index e69de29..0000000 diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 13566b8..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/.idea/blog-2.iml b/.idea/blog-2.iml deleted file mode 100644 index 5e764c4..0000000 --- a/.idea/blog-2.iml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 68e7d92..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index b3cfc66..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/Caddyfile b/Caddyfile deleted file mode 100644 index b699cb9..0000000 --- a/Caddyfile +++ /dev/null @@ -1,10 +0,0 @@ -{ - auto_https off - debug - http_port: 80 -} - -blog.kasperhermansen.com { - root * /usr/share/caddy - file_server -} diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 643352d..0000000 --- a/Dockerfile +++ /dev/null @@ -1,4 +0,0 @@ -FROM klakegg/hugo:0.93.2-onbuild AS hugo - -FROM nginx -COPY --from=hugo /target /usr/share/nginx/html diff --git a/archetypes/default.md b/archetypes/default.md deleted file mode 100644 index 00e77bd..0000000 --- a/archetypes/default.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "{{ replace .Name "-" " " | title }}" -date: {{ .Date }} -draft: true ---- - diff --git a/conf/nginx.conf b/conf/nginx.conf deleted file mode 100644 index f326976..0000000 --- a/conf/nginx.conf +++ /dev/null @@ -1,19 +0,0 @@ -http { - include mime.types; - sendfile on; - - server { - listen 80; - listen [::]:80; - - autoindex off; - - server_name _; - server_tokens off; - - root /usr/share/nginx/html; - gzip_static on; - } -} - -events {} diff --git a/config.yaml b/config.yaml deleted file mode 100644 index f1a8cd9..0000000 --- a/config.yaml +++ /dev/null @@ -1,76 +0,0 @@ -languageCode: "en-us" -baseUrl: "https://blog.kasperhermansen.com" -title: "Kjuulh" -theme: "anubis" -paginate: 10 -disqusShortname: "kjuulh" -googleAnalytics: "G-12345" -enableRobotsTXT: true - -menu: - main: - - identifier: archive - name: Archive - title: Archive - url: /posts/ - weight: 0 - -taxonomies: - category: "categories" - tag: "tags" - -params: - author: "Kasper J. Hermansen" - email: contact@kasperhermansen.com # used for microformats - #avatar: "/images/me.png" # used for microformats - description: "A blog about what I am working on and think about at the moment and in the past" - # Uncomment if you need this - # images: - # - images/og-featured.png # relative path to "static" directory - # customCSS: - # - css/my.css # relative path to "assets" directory (don't use main.css filename) - # customJS: - # - js/main.js # relative path to "assets" directory - dateFormat: "2006-01-02" - paginationSinglePost: true - style: dark - readMore: false # show read more button - readNextPosts: 5 # show 5 related posts, 0 by default - disableSummary: false - copyCodeButton: true # true by default - rssAsSocialIcon: true - # utteranc.es support - utterancesRepo: "" # mandatory - utterancesTheme: "" # optional - utterancesIssue: "" # optional - utterancesLabel: "" # optional - # isso support - isso: - enabled: true # mandatory - data: "https://comments.example.com/" # mandatory - jsLocation: "https://comments.example.com/js/embed.min.js" # mandatory - css: true # optional - lang: "dk" # optional - replyToSelf: true # mandatory - requireAuthor: true # mandatory - requireEmail: true # mandatory - id: "thread-id" # optional - avatar: true # optional - avatar-bg: "#f0f0f0" # optional - graphcommentId: "" - webmentions: - url: https://yourdomain.com/webemntions/receive - login: hugo-theme-anubis - pingback: true - social: - - id: github - name: kjuulh -# - id: hugo -# url: "https://gohugo.io/" -# icon: "hugo" - -markup: - goldmark: - renderer: - unsafe: true # enable raw HTML in Markdown - diff --git a/content/post/_index.md b/content/post/_index.md deleted file mode 100644 index 5e68b4a..0000000 --- a/content/post/_index.md +++ /dev/null @@ -1,7 +0,0 @@ -+++ -aliases = ["posts","articles","blog","showcase","docs"] -title = "Posts" -author = "kjuulh" -tags = ["index"] -+++ - diff --git a/content/post/devtooling.md b/content/post/devtooling.md deleted file mode 100644 index 49326fb..0000000 --- a/content/post/devtooling.md +++ /dev/null @@ -1,4 +0,0 @@ -+++ -hidden = true -+++ - diff --git a/content/post/start-of-blog.md b/content/post/start-of-blog.md deleted file mode 100644 index 3e1b6f3..0000000 --- a/content/post/start-of-blog.md +++ /dev/null @@ -1,12 +0,0 @@ -+++ -author = "kjuulh" -title = "Start of blog" -date = "2022-05-22" -description = "Start of the blog" -aliases = ["start"] -favorite = false -+++ - -Some start of blog - - diff --git a/docker-compose.dev.yaml b/docker-compose.dev.yaml deleted file mode 100644 index de7c52f..0000000 --- a/docker-compose.dev.yaml +++ /dev/null @@ -1,7 +0,0 @@ -services: - kasperhermansen_blog: - build: - context: . - restart: always - ports: - - 15000:80 diff --git a/docker-compose.prod.yaml b/docker-compose.prod.yaml deleted file mode 100644 index fcbd94f..0000000 --- a/docker-compose.prod.yaml +++ /dev/null @@ -1,6 +0,0 @@ -services: - kasperhermansen_blog: - image: kasperhermansen/kasperhermansen-blog:latest - restart: always - ports: - - 15000:80 diff --git a/renovate.json b/renovate.json deleted file mode 100644 index 7190a60..0000000 --- a/renovate.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "$schema": "https://docs.renovatebot.com/renovate-schema.json" -} diff --git a/themes/anubis b/themes/anubis deleted file mode 160000 index cdef276..0000000 --- a/themes/anubis +++ /dev/null @@ -1 +0,0 @@ -Subproject commit cdef276335a7537d065251727487b7e744aff98d