diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..89af1b0 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/PaperMod"] + path = themes/PaperMod + url = https://github.com/adityatelange/hugo-PaperMod.git 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.yml b/config.yml new file mode 100644 index 0000000..f18218b --- /dev/null +++ b/config.yml @@ -0,0 +1,123 @@ +baseURL: "https://blog.ahmza.com" +title: Blog +paginate: 5 +theme: PaperMod + +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: Blog + description: "ahmza's thoughts and ideas" + 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 + + ShowReadingTime: true + ShowShareButtons: true + ShowPostNavLinks: true + ShowBreadCrumbs: true + ShowCodeCopyButtons: true + disableSpecial1stPost: false + disableScrollToTop: false + comments: false + hidemeta: false + 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: "Blog" + 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 there \U0001F44B" + Content: Welcome to my blog + + socialIcons: + - name: twitter + url: "https://twitter.com/4HMXA" + - name: LinkedIn + url: "https://linkedin.com/in/ahmza" + - name: github + url: "https://github.com/4hmz4" + + 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://github.com/4hmz4/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: tags + name: tags + url: /tags/ + weight: 20 + - identifier: example + name: blog.ahmza.com + url: https://blog.ahmza.com + 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 diff --git a/content/posts/welcome.md b/content/posts/welcome.md new file mode 100644 index 0000000..341cdd3 --- /dev/null +++ b/content/posts/welcome.md @@ -0,0 +1,40 @@ +--- +title: "Welcome" +date: 2021-12-01T13:36:08Z +draft: false +--- + +### Hello World + +The mandatory hello world when you start something new. + +I'd like to say thank you for visiting my site and I hope that you +gain something valuable from it. + +### A bit about me + +I'm currently based in the UK in the early stages of my career. And +like most people - possibly you - I am very interested in learning +new technologies and techniques. + +I get bored fairly easily and so I have to keep my self busy by +learning new stuff. The reason this site exists is because I wanted +to learn how web servers work and long the way I learned a lot of +other stuff too. + +I feel If you are interested in something then definitely go ahead +and try to learn it I'm sure you will learn a lot more than you +expect. Like a lot of people say + + Its about the Journey as much as it is the destination + +I have always tinkered and naturally gained an interest for +technology, I don't limit myself to one part of tech I try to dabble +a bit in everything. I love photography as you operate the camera and +in certain situations have to learn to develop film 😂 but I also get +to incorporate the creative side. + +Check out my photography focused site here photos.ahmza.com + +If you would like to learn more about me then feel free to contact me +on any of my social media. diff --git a/themes/PaperMod b/themes/PaperMod new file mode 160000 index 0000000..386d845 --- /dev/null +++ b/themes/PaperMod @@ -0,0 +1 @@ +Subproject commit 386d84578278d44f4f70c9ed2cebba9623c4007b