diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2a8645f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.hugo_build.lock diff --git a/config.yml b/config.yml index c89de0a..b7fdaef 100644 --- a/config.yml +++ b/config.yml @@ -9,118 +9,135 @@ buildFuture: false buildExpired: false enableEmoji: true +googleAnalytics: G-HSJHLHP8FZ + minify: - disableXML: true - minifyOutput: true + disableXML: true + minifyOutput: true outputs: - home: - - HTML - - RSS - - JSON + home: + - HTML + - RSS + - JSON params: - env: production # to enable google analytics, opengraph, twitter-cards and schema. - title: ahmza's ramblings - description: "Welcome to ahmza's ramblings, sharing his crazy thoughts since 2021" - keywords: [Blog, Homelab, IT, Portfolio, PaperMod] - author: ahmza - images: ["http://blog.ahmza.com/content/images/2021/11/Padlock-1.png"] #Change this - DateFormat: "January 2, 2006" - defaultTheme: dark # dark, light - disableThemeToggle: false + env: production # to enable google analytics, opengraph, twitter-cards and schema. + title: ahmza's ramblings + description: "ahmza's ramblings, a place to share his crazy thoughts" + keywords: [Blog, Homelab, IT, security, systems, network, Portfolio, PaperMod] + author: ahmza + images: ["http://blog.ahmza.com/content/images/2021/11/Padlock-1.png"] #Change this + DateFormat: "January 2, 2006" + defaultTheme: dark # dark, light + disableThemeToggle: false - ShowReadingTime: true - #ShowShareButtons: true - #ShowPostNavLinks: true - ShowBreadCrumbs: true - ShowCodeCopyButtons: true - disableSpecial1stPost: false - disableScrollToTop: false - comments: false - hidemeta: false - hideSummary: false - showtoc: true - tocopen: false + ShowReadingTime: true + ShowShareButtons: false + ShowPostNavLinks: false + ShowBreadCrumbs: true + ShowCodeCopyButtons: true + ShowWordCount: true + ShowRssButtonInSectionTermList: true + UseHugoToc: false + disableSpecial1stPost: false + disableScrollToTop: false + comments: false + hidemeta: false + hideSummary: false + showtoc: true + tocopen: false - assets: - # disableHLJS: true # to disable highlight.js - # disableFingerprinting: true - favicon: "/img/favicon.png" - favicon16x16: "/img/favicon.png" - favicon32x32: "/img/favicon.png" - apple_touch_icon: "/img/favicon.png" - safari_pinned_tab: "/img/favicon.png" + assets: + #disableHLJS: true # to disable highlight.js + # disableFingerprinting: true + favicon: "/img/favicon.png" + favicon16x16: "/img/favicon.png" + favicon32x32: "/img/favicon.png" + apple_touch_icon: "/img/favicon.png" + safari_pinned_tab: "/img/favicon.png" - #label: - #text: "Blog" - #icon: /apple-touch-icon.png - #iconHeight: 35 + label: + text: "ahmza's ramblings" + #icon: /img/favicon.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 + # profile-mode + profileMode: + enabled: true # needs to be explicitly set + title: "Welcome \U0001F44B" + subtitle: ahmza's ramblings, A place to share his crazy thoughts + imageUrl: "/img/favicon.png" + imageWidth: 120 + imageHeight: 120 + imageTitle: skullstache + buttons: + - name: posts + url: posts + - name: archive + url: archives + - name: tags + url: tags - # home-info mode - homeInfoParams: - Title: "Welcome \U0001F44B" - Content: to ahmza's ramblings, sharing his crazy thoughts since 2021 + # home-info mode + homeInfoParams: + Title: "Welcome \U0001F44B" + Content: A place to share his crazy thoughts. - socialIcons: - - name: twitter - url: "https://twitter.com/4HMXA" - - name: LinkedIn - url: "https://linkedin.com/in/ahmza" - - name: gitlab - url: "https://gitlab.com/AHMZA" + socialIcons: + - name: twitter + url: "https://twitter.com/4HMXA" + - name: LinkedIn + url: "https://linkedin.com/in/ahmza" + - name: gitlab + url: "https://gitlab.com/AHMZA" + - name: photos.ahmza.com + url: "https://photos.ahmza.com" - cover: - hidden: true # hide everywhere but not in structured data - hiddenInList: true # hide on list pages and home - hiddenInSingle: false # hide on single page + cover: + hidden: false # hide everywhere but not in structured data + hiddenInList: false # hide on list pages and home + hiddenInSingle: false # hide on single page - editPost: - URL: "https://gitlab.com/AHMZA/blog/-/blob/main/content" - Text: "Suggest Changes" # edit text - appendFilePath: true # to append file path to Edit link + editPost: + URL: "https://gitlab.com/AHMZA/blog/-/blob/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"] + # 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: tags - name: tags - url: /tags/ - weight: 20 - - identifier: search - name: search - url: /search/ - weight: 30 + main: + - identifier: posts + name: posts + url: /posts/ + weight: 1 + - identifier: archive + name: archive + url: /archives/ + weight: 10 + - identifier: tags + name: tags + url: /tags/ + weight: 20 + - 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: -# # anchorLineNos: true -# codeFences: true -# guessSyntax: true -# lineNos: true -# style: monokai + # highlight: + # anchorLineNos: true + # codeFences: true + # guessSyntax: true + # lineNos: true + # style: monokai diff --git a/content/archive.md b/content/archive.md new file mode 100644 index 0000000..5628e34 --- /dev/null +++ b/content/archive.md @@ -0,0 +1,6 @@ +--- +title: "Archive" +layout: "archives" +url: "/archives/" +summary: archives +--- diff --git a/themes/PaperMod b/themes/PaperMod index 43c810c..d3d90be 160000 --- a/themes/PaperMod +++ b/themes/PaperMod @@ -1 +1 @@ -Subproject commit 43c810c3e20bcf04e17a3e26a4ceacd9dfd9f22a +Subproject commit d3d90be8a4ea04433d95d02a1dc07b0014c5b8b8