commit 998b4d0d579a75653eae62758e7eae02f0d4a8e0 Author: Wojciech Janota Date: Sat Jan 14 12:39:26 2023 +0100 first diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..a9a664d --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "nixenblog/nixenblog/themes/PaperMod"] + path = nixenblog/nixenblog/themes/PaperMod + url = https://github.com/adityatelange/hugo-PaperMod.git diff --git a/nixenblog/.hugo_build.lock b/nixenblog/.hugo_build.lock new file mode 100644 index 0000000..e69de29 diff --git a/nixenblog/archetypes/default.md b/nixenblog/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/nixenblog/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/nixenblog/archetypes/post.md b/nixenblog/archetypes/post.md new file mode 100644 index 0000000..9c7209b --- /dev/null +++ b/nixenblog/archetypes/post.md @@ -0,0 +1,36 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +# weight: 1 +# aliases: ["/first"] +tags: ["first"] +author: "nixen" +# author: ["Me", "You"] # multiple authors +showToc: true +TocOpen: false +draft: false +hidemeta: true +comments: false +description: "Desc Text." +canonicalURL: "https://canonical.url/to/page" +disableShare: false +disableHLJS: false +hideSummary: false +searchHidden: true +ShowReadingTime: true +ShowBreadCrumbs: true +ShowPostNavLinks: true +ShowWordCount: true +ShowRssButtonInSectionTermList: true +UseHugoToc: true +cover: + image: "" # image path/url + alt: "" # alt text + caption: "" # display caption under cover + relative: false # when using page bundles set this to true + hidden: true # only hide on current single page +editPost: + URL: "https://github.com//content" + Text: "Suggest Changes" # edit text + appendFilePath: true # to append file path to Edit link +--- \ No newline at end of file diff --git a/nixenblog/config.yml b/nixenblog/config.yml new file mode 100644 index 0000000..ed76c3a --- /dev/null +++ b/nixenblog/config.yml @@ -0,0 +1,134 @@ +baseURL: http://blog.nixenos.ovh/ +languageCode: en-us +title: My private blog +paginate: 5 +theme: PaperMod + +enableRobotsTXT: true + +minify: + disableXML: true + minifyOutput: true + +params: + env: production # to enable google analytics, opengraph, twitter-cards and schema. + title: My private blog + description: "My small blog where I post about things that interest me: Hardware, Linux, OpenSource, DevOps and more!" + keywords: [Blog, Linux, Terraform, KVM, QEMU, Linux, OpenSource] + author: nixen + # author: ["Me", "You"] # multiple authors + images: [""] + DateFormat: "January 2, 2006" + defaultTheme: auto # dark, light + disableThemeToggle: false + + ShowReadingTime: true + ShowShareButtons: false + ShowPostNavLinks: true + ShowBreadCrumbs: true + ShowCodeCopyButtons: false + ShowWordCount: true + ShowRssButtonInSectionTermList: true + UseHugoToc: true + disableSpecial1stPost: false + disableScrollToTop: false + comments: false + hidemeta: true + hideSummary: false + showtoc: false + tocopen: false + + assets: + # disableHLJS: true # to disable highlight.js + # disableFingerprinting: true + favicon: "" + favicon16x16: "" + favicon32x32: "" + apple_touch_icon: "" + safari_pinned_tab: "" + + label: + text: "Home" + icon: /apple-touch-icon.png + iconHeight: 35 + + # profile-mode + profileMode: + enabled: false # needs to be explicitly set + title: ExampleSite + subtitle: "This is subtitle" + imageUrl: "" + imageWidth: 120 + imageHeight: 120 + imageTitle: my image + buttons: + - name: Posts + url: posts + - name: Tags + url: tags + + # home-info mode + homeInfoParams: + Title: "Hi!" + Content: Welcome to my blog! My name is Wojciech, I am a student of Computer Engineering and a Release Manager working with AWS (CDK, infra and serverless applications), K8S and Python. Professionally I am reponsible for writing and maintaining software and IaaC for managing deployments of many microservices for my company. Previously I worked as a DevOps engineer, managing AWS infrastructure with Terraform and Ansible, mostly focusing on logging infrastructure, along with setting up Splunk self-hosted instance using AWS ECS. Academically I am interested in virtualization in Unix environments, as well as low-level OS programming in C/C++ and x86 assembly. Here I will share my random thoughts and things that caught my attention, as well as other things that interest me. Find me on other media using handles below :) + + socialIcons: + - name: twitter + url: "https://twitter.com/" + - name: gitea + url: "https://git.nixenos.ovh" + - name: github + url: "https://github.com/nixenos" + + analytics: + google: + SiteVerificationTag: "XYZabc" + bing: + SiteVerificationTag: "XYZabc" + yandex: + SiteVerificationTag: "XYZabc" + + cover: + hidden: true # hide everywhere but not in structured data + hiddenInList: true # hide on list pages and home + hiddenInSingle: true # hide on single page + + editPost: + URL: "https://git.nixenos.ovh/nixen/my-blog/content" + Text: "Suggest Changes" # edit text + appendFilePath: true # to append file path to Edit link + + # for search + # https://fusejs.io/api/options.html + fuseOpts: + isCaseSensitive: false + shouldSort: true + location: 0 + distance: 1000 + threshold: 0.4 + minMatchCharLength: 0 + keys: ["title", "permalink", "summary", "content"] +menu: + main: + - identifier: categories + name: categories + url: /categories/ + weight: 10 + - identifier: posts + name: all posts + url: /posts/ + weight: 20 + - identifier: main-page + name: return to main page -> + url: https://nixenos.ovh + weight: 30 +# Read: https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#using-hugos-syntax-highlighter-chroma +pygmentsUseClasses: true +markup: + highlight: + noClasses: false + # anchorLineNos: true + # codeFences: true + # guessSyntax: true + # lineNos: true + # style: monokai \ No newline at end of file diff --git a/nixenblog/content/posts/my-first-post.md b/nixenblog/content/posts/my-first-post.md new file mode 100644 index 0000000..9c32e5a --- /dev/null +++ b/nixenblog/content/posts/my-first-post.md @@ -0,0 +1,36 @@ +--- +title: "My First Post" +date: 2023-01-14T12:31:32+01:00 +# weight: 1 +# aliases: ["/first"] +tags: ["first"] +author: "nixen" +# author: ["Me", "You"] # multiple authors +showToc: true +TocOpen: false +draft: false +hidemeta: true +comments: false +description: "Desc Text." +canonicalURL: "https://canonical.url/to/page" +disableShare: false +disableHLJS: false +hideSummary: false +searchHidden: true +ShowReadingTime: true +ShowBreadCrumbs: true +ShowPostNavLinks: true +ShowWordCount: true +ShowRssButtonInSectionTermList: true +UseHugoToc: true +cover: + image: "" # image path/url + alt: "" # alt text + caption: "" # display caption under cover + relative: false # when using page bundles set this to true + hidden: true # only hide on current single page +editPost: + URL: "https://github.com//content" + Text: "Suggest Changes" # edit text + appendFilePath: true # to append file path to Edit link +--- \ No newline at end of file diff --git a/nixenblog/themes/PaperMod b/nixenblog/themes/PaperMod new file mode 160000 index 0000000..d3d90be --- /dev/null +++ b/nixenblog/themes/PaperMod @@ -0,0 +1 @@ +Subproject commit d3d90be8a4ea04433d95d02a1dc07b0014c5b8b8