commit c452e11e67e7a0901fd1829e0c6943555d91d722 Author: Denys Konovalov Date: Sun Nov 5 11:38:36 2023 +0100 initial commit diff --git a/.hugo_build.lock b/.hugo_build.lock new file mode 100644 index 0000000..e69de29 diff --git a/archetypes/post.md b/archetypes/post.md new file mode 100644 index 0000000..5e3c3e4 --- /dev/null +++ b/archetypes/post.md @@ -0,0 +1,8 @@ +--- +title: "{{ replace .File.ContentBaseName "-" " " | title }}" +author: "Denys Konovalov" +date: "{{ .Date }}" +description: +tags: [] +showtoc: false +--- \ No newline at end of file diff --git a/config.yml b/config.yml new file mode 100644 index 0000000..b86f07b --- /dev/null +++ b/config.yml @@ -0,0 +1,153 @@ +baseURL: "https://examplesite.com/" +title: Denys Konovalov +paginate: 5 +theme: github.com/adityatelange/hugo-PaperMod + +markdown: + defaultMarkdownHandler: goldmark + goldmark: + renderer: + unsafe: true + +enableRobotsTXT: true +buildDrafts: false +buildFuture: false +buildExpired: false + +minify: + disableXML: true + minifyOutput: true + +params: + env: production # to enable google analytics, opengraph, twitter-cards and schema. + title: Denys Konovalov + description: "This is my personal website where I share guides and tips which could've helped me if they existed prior :)" + keywords: [Blog] + author: Denys Konovalov + DateFormat: "2 January 2006" + defaultTheme: auto + disableThemeToggle: false + + ShowReadingTime: true + ShowShareButtons: false + ShowPostNavLinks: true + ShowBreadCrumbs: true + ShowCodeCopyButtons: false + ShowWordCount: true + ShowRssButtonInSectionTermList: true + UseHugoToc: true + disableSpecial1stPost: false + disableScrollToTop: false + comments: true + hidemeta: false + hideSummary: false + showtoc: false + tocopen: false + + assets: + # disableHLJS: true # to disable highlight.js + disableFingerprinting: true + favicon: "favicon.png" + favicon16x16: "favicon-16.ico" + favicon32x32: "favicon-32.ico" + apple_touch_icon: "favicon.png" + safari_pinned_tab: "favicon.png" + + label: + text: "denyskon" + icon: /favicon.png + iconHeight: 35 + + # profile-mode + profileMode: + enabled: true # needs to be explicitly set + title: "Hi there \U0001F44B" + subtitle: | + I'm Denys Konovalov + developer | Gitea maintainer | system administrator | Linux & Open Source enthusiast + imageUrl: "/avatar.jpg" + imageWidth: 128 + imageHeight: 128 + buttons: + - name: Posts + url: posts + - name: Tags + url: tags + + # home-info mode + homeInfoParams: + Title: "Hi there \U0001F44B" + Content: | + I'm Denys Konovalov + developer | Gitea maintainer | system administrator | Linux & Open Source enthusiast + + socialIcons: + - name: twitter + url: "https://twitter.com/denyskon" + - name: mastodon + url: "https://chaos.social/@denyskon" + - name: github + url: "https://github.com/denyskon" + - name: gitea + url: "https://gitea.com/denyskon" + - name: gitea + url: "https://git.denyskon.de/denyskon" + + 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.denyskon.de/denyskon/website/tree/main/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: tags + name: Tags + url: /tags/ + weight: 20 + - identifier: archives + name: "Archives" + url: /archives/ + weight: 30 + - identifier: search + name: "Search" + url: /search/ + 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 + +outputs: + home: + - HTML + - RSS + - JSON + +module: + imports: + - path: github.com/adityatelange/hugo-PaperMod diff --git a/content/archives.md b/content/archives.md new file mode 100644 index 0000000..69671d7 --- /dev/null +++ b/content/archives.md @@ -0,0 +1,5 @@ +--- +title: "Archive" +layout: "archives" +url: "/archives/" +--- \ No newline at end of file diff --git a/content/posts/introduction.md b/content/posts/introduction.md new file mode 100644 index 0000000..11e9daa --- /dev/null +++ b/content/posts/introduction.md @@ -0,0 +1,14 @@ +--- +title: "Welcome to my Website!" +author: "Denys Konovalov" +date: "2023-11-04" +tags: ["introduction", "first-post"] +--- + +Hi everyone! + +My name is Denys Konovalov and I am a german student interested in various IT topics like web development, Linux system administration, Rust/Go/Flutter+Dart/Python/NodeJS/* programming and more. I'm one of the maintainers of the [Gitea project](https://github.com/go-gitea/gitea) and a contributor to others like [Static CMS](https://github.com/StaticJsCMS/static-cms/pulls?q=is%3Apr+author%3Adenyskon+is%3Aclosed). + +On this small, **personal** site I will try to share guides & tips I could have needed when setting up something. + +Stay tuned! diff --git a/content/search.md b/content/search.md new file mode 100644 index 0000000..3e9ffa0 --- /dev/null +++ b/content/search.md @@ -0,0 +1,6 @@ +--- +title: "Search" +layout: "search" +url: /search/ +placeholder: "Type..." +--- \ No newline at end of file diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..9dc54bd --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module git.denyskon.de/denyskon/website + +go 1.21.1 + +require github.com/adityatelange/hugo-PaperMod v0.0.0-20231104050255-50cafe4b1c79 // indirect diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..6e149a1 --- /dev/null +++ b/go.sum @@ -0,0 +1,2 @@ +github.com/adityatelange/hugo-PaperMod v0.0.0-20231104050255-50cafe4b1c79 h1:4QwB8TG2VbDqi3eEVpSaWT8qsinZOfFv5o3hadzHOVw= +github.com/adityatelange/hugo-PaperMod v0.0.0-20231104050255-50cafe4b1c79/go.mod h1:HCHxNMKYdGafUYjVV3ICiAqznZK2yH0iI53jqcDFDdQ= diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html new file mode 100644 index 0000000..cdd01a9 --- /dev/null +++ b/layouts/partials/comments.html @@ -0,0 +1,9 @@ + diff --git a/static/avatar.jpg b/static/avatar.jpg new file mode 100644 index 0000000..6737510 Binary files /dev/null and b/static/avatar.jpg differ diff --git a/static/favicon-16.ico b/static/favicon-16.ico new file mode 100644 index 0000000..fe9bb8c Binary files /dev/null and b/static/favicon-16.ico differ diff --git a/static/favicon-32.ico b/static/favicon-32.ico new file mode 100644 index 0000000..0fa1a21 Binary files /dev/null and b/static/favicon-32.ico differ diff --git a/static/favicon.png b/static/favicon.png new file mode 100644 index 0000000..565407d Binary files /dev/null and b/static/favicon.png differ