diff --git a/.drone.yml b/.drone.yml
new file mode 100644
index 0000000..5ce4a36
--- /dev/null
+++ b/.drone.yml
@@ -0,0 +1,25 @@
+kind: pipeline
+name: default
+type: docker
+steps:
+ - 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:
+ - client
+ - server
+ when:
+ status: [failure]
\ No newline at end of file
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..13566b8
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# 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
new file mode 100644
index 0000000..5e764c4
--- /dev/null
+++ b/.idea/blog-2.iml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..68e7d92
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..b3cfc66
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Caddyfile b/Caddyfile
new file mode 100644
index 0000000..b37c102
--- /dev/null
+++ b/Caddyfile
@@ -0,0 +1,8 @@
+{
+ auto_https off
+}
+
+http://blog.kasperhermansen.com {
+ root * /usr/share/caddy
+ file_server
+}
\ No newline at end of file
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..0857204
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,10 @@
+FROM klakegg/hugo:0.93.2-onbuild as builder
+COPY . /src
+
+FROM caddy:2.1.1 as run
+
+COPY --from=builder /target/ /usr/share/caddy/
+
+COPY ./Caddyfile /etc/caddy/Caddyfile
+
+
diff --git a/config.yaml b/config.yaml
index b5e4f26..6f852ee 100644
--- a/config.yaml
+++ b/config.yaml
@@ -15,6 +15,10 @@ menu:
url: /posts/
weight: 0
+taxonomies:
+ category: "categories"
+ tag: "tags"
+
params:
author: "Kasper J. Hermansen"
email: contact@kasperhermansen.com # used for microformats
@@ -29,7 +33,7 @@ params:
# - js/main.js # relative path to "assets" directory
dateFormat: "2006-01-02"
paginationSinglePost: true
- style: dark-with-switcher
+ style: dark
readMore: false # show read more button
readNextPosts: 5 # show 5 related posts, 0 by default
disableSummary: false
@@ -46,7 +50,7 @@ params:
data: "https://comments.example.com/" # mandatory
jsLocation: "https://comments.example.com/js/embed.min.js" # mandatory
css: true # optional
- lang: "de" # optional
+ lang: "dk" # optional
replyToSelf: true # mandatory
requireAuthor: true # mandatory
requireEmail: true # mandatory
@@ -60,7 +64,7 @@ params:
pingback: true
social:
- id: github
- name: gohugoio
+ name: kjuulh
# - id: hugo
# url: "https://gohugo.io/"
# icon: "hugo"
diff --git a/content/post/_index.md b/content/post/_index.md
new file mode 100644
index 0000000..5e68b4a
--- /dev/null
+++ b/content/post/_index.md
@@ -0,0 +1,7 @@
++++
+aliases = ["posts","articles","blog","showcase","docs"]
+title = "Posts"
+author = "kjuulh"
+tags = ["index"]
++++
+
diff --git a/content/post/start-of-blog.md b/content/post/start-of-blog.md
new file mode 100644
index 0000000..3e1b6f3
--- /dev/null
+++ b/content/post/start-of-blog.md
@@ -0,0 +1,12 @@
++++
+author = "kjuulh"
+title = "Start of blog"
+date = "2022-05-22"
+description = "Start of the blog"
+aliases = ["start"]
+favorite = false
++++
+
+Some start of blog
+
+