From c3c42e4c6e7a267e84ff6afaff88813c046e7a1a Mon Sep 17 00:00:00 2001 From: Casual Date: Mon, 24 Jul 2023 00:02:29 +0300 Subject: [PATCH] first commit --- .gitmodules | 3 ++ .hugo_build.lock | 0 archetypes/default.md | 6 +++ config.yaml | 83 ++++++++++++++++++++++++++++++++++++ content/posts/hello-world.md | 10 +++++ themes/anubis | 1 + 6 files changed, 103 insertions(+) create mode 100644 .gitmodules create mode 100644 .hugo_build.lock create mode 100644 archetypes/default.md create mode 100644 config.yaml create mode 100644 content/posts/hello-world.md create mode 160000 themes/anubis 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..d005ed8 --- /dev/null +++ b/config.yaml @@ -0,0 +1,83 @@ +languageCode: "en-us" +baseUrl: "https://blog.ca.sual.in/" +title: "Casual Blog" +theme: "anubis" +paginate: 10 +# disqusShortname: "yourdiscussshortname" +# googleAnalytics: "G-12345" +enableRobotsTXT: true + +menu: + main: + - identifier: blog + name: Blog + title: Blog + url: /posts/ + weight: 0 + +params: + author: "Casual" + email: c@sual.in # used for microformats + avatar: "/images/me.png" # used for microformats + description: "" + # 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-without-switcher + mainSections: [ "blog" ] # which sections should be on index/main page + sectionsWithFullContentOnListPage: [ "notes" ] # for which sections content should be displayed on list pages + readMore: false # show read more button + readNextPosts: 5 # show 5 related posts, 0 by default + disableSummary: false + toc: true # display Table of Contents + tocWordCount: 300 # ...when a post is longer than 300 words + copyCodeButton: true # true by default + rssAsSocialIcon: true + mathjax: false # https://www.mathjax.org/ + # 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 + # feed: false # optional + # UmamiAnalytics: + # enabled: true # mandatory + # dnt: true # optional + # id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" # mandatory + # datacache: false # optional + # url: "https://abc.example.com/umami.js" # mandatory + # graphcommentId: "" + # webmentions: + # url: https://yourdomain.com/webemntions/receive + # login: hugo-theme-anubis + # pingback: true + social: + # - id: github + # name: gohugoio + - id: github + url: "https://git.sual.in/casual" + # icon: "hugo" + +# markup: + # goldmark: + # renderer: + # unsafe: true # enable raw HTML in Markdown diff --git a/content/posts/hello-world.md b/content/posts/hello-world.md new file mode 100644 index 0000000..cbc8b66 --- /dev/null +++ b/content/posts/hello-world.md @@ -0,0 +1,10 @@ +--- +title: "Hello World" +date: 2023-07-23T17:56:22+03:00 +draft: false +--- + + +# Hello World! + +World Hello diff --git a/themes/anubis b/themes/anubis new file mode 160000 index 0000000..d5bd8c2 --- /dev/null +++ b/themes/anubis @@ -0,0 +1 @@ +Subproject commit d5bd8c2848414141949fc1f97a4b13f72f3637d5