commit c1aad02baacd66c207e428573ac22aaf3c47bd72 Author: kjuulh Date: Sun May 22 22:09:22 2022 +0200 Add theme diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..5a69223 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[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 new file mode 100644 index 0000000..e69de29 diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..b5e4f26 --- /dev/null +++ b/config.yaml @@ -0,0 +1,72 @@ +languageCode: "en-us" +baseUrl: "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 + +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-with-switcher + 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: "de" # 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: gohugoio +# - id: hugo +# url: "https://gohugo.io/" +# icon: "hugo" + +markup: + goldmark: + renderer: + unsafe: true # enable raw HTML in Markdown + diff --git a/themes/anubis b/themes/anubis new file mode 160000 index 0000000..cdef276 --- /dev/null +++ b/themes/anubis @@ -0,0 +1 @@ +Subproject commit cdef276335a7537d065251727487b7e744aff98d