diff --git a/.gitignore b/.gitignore index bf3695e..fdea639 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ styles/ node_modules public/ +resources/ diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0afa212..0172b79 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,7 +7,7 @@ variables: # Major - Shouldn't change often, Big changes to the site # Minor - starts from 0 when Major is incremented +1 for each version that goes public # Release - For each time a development milestone is reached - VERSION: 1.2.7 + VERSION: 1.2.8 BUILD: 1 # If set to 0 gitlab will not build the image IMAGE_TAG: $CI_REGISTRY_IMAGE:$VERSION diff --git a/.gitmodules b/.gitmodules index 89af1b0..c399a6a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,7 @@ [submodule "themes/PaperMod"] path = themes/PaperMod url = https://github.com/adityatelange/hugo-PaperMod.git +[submodule "themes/blowfish"] + path = themes/blowfish + url = https://github.com/nunocoracao/blowfish.git + branch = main diff --git a/archetypes/default.md b/archetypes/default.md deleted file mode 100644 index 00e77bd..0000000 --- a/archetypes/default.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "{{ replace .Name "-" " " | title }}" -date: {{ .Date }} -draft: true ---- - diff --git a/archetypes/posts.md b/archetypes/posts.md index 94da7f0..abb2353 100644 --- a/archetypes/posts.md +++ b/archetypes/posts.md @@ -7,14 +7,6 @@ weight: tags: [""] description: "" -canonicalURL: "{{ .Page | absURL }}" - -cover: - image: "" # image path/url - alt: "" # alt text - caption: "" # display caption under cover - relative: false # when using page bundles set this to true - --- ## **Introduction** diff --git a/assets/background.webp b/assets/background.webp new file mode 100644 index 0000000..509a72e Binary files /dev/null and b/assets/background.webp differ diff --git a/assets/logo.png b/assets/logo.png new file mode 100644 index 0000000..b3acafa Binary files /dev/null and b/assets/logo.png differ diff --git a/static/webm/clap.webm b/assets/webm/clap.webm similarity index 100% rename from static/webm/clap.webm rename to assets/webm/clap.webm diff --git a/static/webm/do-it.webm b/assets/webm/do-it.webm similarity index 100% rename from static/webm/do-it.webm rename to assets/webm/do-it.webm diff --git a/static/webm/i-know-kung-fu.webm b/assets/webm/i-know-kung-fu.webm similarity index 100% rename from static/webm/i-know-kung-fu.webm rename to assets/webm/i-know-kung-fu.webm diff --git a/static/webm/i-love-it.webm b/assets/webm/i-love-it.webm similarity index 100% rename from static/webm/i-love-it.webm rename to assets/webm/i-love-it.webm diff --git a/static/webm/matrix-jump-fail.webm b/assets/webm/matrix-jump-fail.webm similarity index 100% rename from static/webm/matrix-jump-fail.webm rename to assets/webm/matrix-jump-fail.webm diff --git a/static/webm/mha-power.webm b/assets/webm/mha-power.webm similarity index 100% rename from static/webm/mha-power.webm rename to assets/webm/mha-power.webm diff --git a/static/webm/proud.webm b/assets/webm/proud.webm similarity index 100% rename from static/webm/proud.webm rename to assets/webm/proud.webm diff --git a/static/webm/thats-a-big-one.webm b/assets/webm/thats-a-big-one.webm similarity index 100% rename from static/webm/thats-a-big-one.webm rename to assets/webm/thats-a-big-one.webm diff --git a/static/webm/this-is-fine.webm b/assets/webm/this-is-fine.webm similarity index 100% rename from static/webm/this-is-fine.webm rename to assets/webm/this-is-fine.webm diff --git a/static/webm/wasnt-so-bad.webm b/assets/webm/wasnt-so-bad.webm similarity index 100% rename from static/webm/wasnt-so-bad.webm rename to assets/webm/wasnt-so-bad.webm diff --git a/static/webm/you-shall-not-pass.webm b/assets/webm/you-shall-not-pass.webm similarity index 100% rename from static/webm/you-shall-not-pass.webm rename to assets/webm/you-shall-not-pass.webm diff --git a/config.yml b/config.yml deleted file mode 100644 index 92a07cb..0000000 --- a/config.yml +++ /dev/null @@ -1,146 +0,0 @@ -baseURL: "https://blog.ahmza.com" -title: ahmza's ramblings -paginate: 5 -theme: PaperMod - -enableRobotsTXT: true -buildDrafts: false -buildFuture: false -buildExpired: false -enableEmoji: true - -googleAnalytics: G-HSJHLHP8FZ - -minify: - disableXML: true - minifyOutput: true - -outputs: - home: - - HTML - - RSS - - JSON - -params: - 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: true - - ShowReadingTime: true - ShowShareButtons: false - ShowPostNavLinks: false - ShowBreadCrumbs: true - ShowCodeCopyButtons: true - ShowWordCount: true - ShowRssButtonInSectionTermList: true - UseHugoToc: false - disableSpecial1stPost: false - disableScrollToTop: false - hideFooter: 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" - - label: - text: "ahmza's ramblings" - #icon: /img/favicon.png - iconHeight: 35 - - # 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: archive - - # home-info mode - homeInfoParams: - Title: "Welcome \U0001F44B" - Content: A place to share his crazy thoughts. - - socialIcons: - - name: LinkedIn - url: "https://linkedin.com/in/ahmza" - - name: Email - url: "mailto:info@ahmza.com?subject=Visitor from blog.ahmza.com" - - name: gitlab - url: "https://gitlab.com/AHMZA" - - name: Instagram - url: "https://instagram.com/_0_ahmxa_2_" - - 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 - - # 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: posts - name: posts - url: /posts/ - weight: 1 - - identifier: archive - name: archive - url: /archives/ - weight: 10 - - identifier: tags - name: tags - url: /tags/ - weight: 20 - - identifier: contact - name: contact - url: /contact/ - weight: 40 - - identifier: search - name: search - url: /search/ - weight: 50 -# Read: https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#using-hugos-syntax-highlighter-chroma -pygmentsUseClasses: true -markup: - highlight: - noClasses: false - codeFences: true - guessSyntax: true - # lineNos: true diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml new file mode 100644 index 0000000..bcfb706 --- /dev/null +++ b/config/_default/hugo.toml @@ -0,0 +1,67 @@ +# -- Site Configuration -- +# Refer to the theme docs for more details about each of these parameters. +# https://blowfish.page/docs/getting-started/ + +theme = "blowfish" # UNCOMMENT THIS LINE +baseURL = "https://blog.ahmza.com/" +defaultContentLanguage = "en" + +# pluralizeListTitles = "true" # hugo function useful for non-english languages, find out more in https://gohugo.io/getting-started/configuration/#pluralizelisttitles + +enableRobotsTXT = true +paginate = 10 +summaryLength = 0 + +buildDrafts = false +buildFuture = false + +enableEmoji = true + +# googleAnalytics = "G-XXXXXXXXX" + +[imaging] + anchor = 'Center' + +[taxonomies] + tag = "tags" + category = "categories" + author = "authors" + series = "series" + +[sitemap] + changefreq = 'daily' + filename = 'sitemap.xml' + priority = 0.5 + +[outputs] + home = ["HTML", "RSS", "JSON"] + +[related] + threshold = 0 + toLower = false + + [[related.indices]] + name = "tags" + weight = 100 + + [[related.indices]] + name = "categories" + weight = 100 + + [[related.indices]] + name = "series" + weight = 50 + + [[related.indices]] + name = "authors" + weight = 20 + + [[related.indices]] + name = "date" + weight = 10 + + [[related.indices]] + applyFilter = false + name = 'fragmentrefs' + type = 'fragments' + weight = 10 diff --git a/config/_default/languages.en.toml b/config/_default/languages.en.toml new file mode 100644 index 0000000..c9c28dd --- /dev/null +++ b/config/_default/languages.en.toml @@ -0,0 +1,18 @@ +languageCode = "en" +languageName = "English" +weight = 1 +title = "ahmza's ramblings" + +[params] +displayName = "EN" +isoCode = "en" +rtl = false +dateFormat = "2 January 2006" +logo = "logo.png" +description = "ahmza’s ramblings, A place to share his crazy thoughts" + +[author] +name = "ahmza" +image = "logo.png" +headline = "ahmza’s ramblings, A place to share his crazy thoughts" +links = [ { email = "info@ahmza.com" }, { gitlab = "https://gitlab.com/ahmza" }, { instagram = "https://www.instagram.com/_ahmza_/" }, { linkedin = "https://www.linkedin.com/in/ahmza" }, { youtube = "https://www.youtube.com/@ahmzaa" } ] diff --git a/config/_default/markup.toml b/config/_default/markup.toml new file mode 100644 index 0000000..c5449fc --- /dev/null +++ b/config/_default/markup.toml @@ -0,0 +1,13 @@ +# -- Markup -- +# These settings are required for the theme to function. + +[goldmark] +[goldmark.renderer] + unsafe = true + +[highlight] + noClasses = false + +[tableOfContents] + startLevel = 2 + endLevel = 4 diff --git a/config/_default/menus.en.toml b/config/_default/menus.en.toml new file mode 100644 index 0000000..cda2f1e --- /dev/null +++ b/config/_default/menus.en.toml @@ -0,0 +1,13 @@ +[[main]] +name = "Posts" +pageRef = "posts" +identifier = "SeIXYKJimq" +weight = 10 + +[[main]] +name = "Tags" +pageRef = "tags" +weight = 30 + +[[footer]] +none = "none" diff --git a/config/_default/module.toml b/config/_default/module.toml new file mode 100644 index 0000000..e90665b --- /dev/null +++ b/config/_default/module.toml @@ -0,0 +1,3 @@ +[hugoVersion] + extended = true + min = "0.87.0" diff --git a/config/_default/params.toml b/config/_default/params.toml new file mode 100644 index 0000000..10baae6 --- /dev/null +++ b/config/_default/params.toml @@ -0,0 +1,107 @@ +colorScheme = "congo" +defaultAppearance = "dark" +autoSwitchAppearance = false +enableSearch = true +enableCodeCopy = true +disableImageZoom = true +disableImageOptimization = true +disableTextInHeader = false +smartTOC = "Enable" +smartTOCHideUnfocusedChildren = "Enable" +defaultFeaturedImage = "background.webp" +defaultBackgroundImage = "background.webp" + +[header] +layout = "fixed" + +[footer] +showMenu = true +showCopyright = true +showThemeAttribution = false +showAppearanceSwitcher = true +showScrollToTop = true + +[homepage] +layout = "background" +showRecent = true +showRecentItems = "9" +showMoreLink = true +showMoreLinkDest = "/posts" +cardView = true +cardViewScreenWidth = false +layoutBackgroundBlur = true +homepageImage = "background.webp" + +[article] +showDate = true +showViews = false +showLikes = false +showDateOnlyInArticle = false +showDateUpdated = false +showAuthor = true +showHero = true +heroStyle = "background" +layoutBackgroundBlur = true +layoutBackgroundHeaderSpace = true +showBreadcrumbs = true +showDraftLabel = true +showEdit = false +editAppendPath = true +seriesOpened = false +showHeadingAnchors = true +showPagination = true +invertPagination = false +showReadingTime = true +showTableOfContents = true +showTaxonomies = true +showAuthorsBadges = true +showWordCount = true +showZenMode = true + +[list] +showHero = false +layoutBackgroundBlur = true +layoutBackgroundHeaderSpace = true +showBreadcrumbs = false +showSummary = false +showViews = false +showLikes = false +showTableOfContents = false +showCards = false +orderByWeight = false +groupByYear = true +cardView = false +cardViewScreenWidth = false +constrainItemsWidth = false + +[sitemap] +excludedKinds = [ "taxonomy", "term" ] + +[taxonomy] +showTermCount = true +showHero = false +showBreadcrumbs = false +showViews = false +showLikes = false +showTableOfContents = false +cardView = true + +[term] +showHero = false +showBreadcrumbs = false +showViews = false +showLikes = false +showTableOfContents = true +groupByYear = false +cardView = true +cardViewScreenWidth = false + +[firebase] + +[fathomAnalytics] + +[umamiAnalytics] + +[buymeacoffee] + +[verification] diff --git a/content/archive.md b/content/archive.md deleted file mode 100644 index 5628e34..0000000 --- a/content/archive.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "Archive" -layout: "archives" -url: "/archives/" -summary: archives ---- diff --git a/content/contact.md b/content/contact.md deleted file mode 100644 index 372034a..0000000 --- a/content/contact.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: "contact" -layout: "contact" -url: "/contact/" -summary: Contact ---- - -**General Enquiries:** info@ahmza.com - -**Ceramics:** ceramics@ahmza.com - -**Design:** design@ahmza.com diff --git a/static/webp/posts/be-more-productive-by-being-bored/feature-anim.webp b/content/posts/be-more-productive-by-being-bored/feature.webp similarity index 100% rename from static/webp/posts/be-more-productive-by-being-bored/feature-anim.webp rename to content/posts/be-more-productive-by-being-bored/feature.webp diff --git a/content/posts/be-more-productive-by-being-bored/feature.webp:Zone.Identifier b/content/posts/be-more-productive-by-being-bored/feature.webp:Zone.Identifier new file mode 100644 index 0000000..e69de29 diff --git a/content/posts/be-more-productive-by-being-bored.md b/content/posts/be-more-productive-by-being-bored/index.md similarity index 86% rename from content/posts/be-more-productive-by-being-bored.md rename to content/posts/be-more-productive-by-being-bored/index.md index 16ee901..051a8ab 100644 --- a/content/posts/be-more-productive-by-being-bored.md +++ b/content/posts/be-more-productive-by-being-bored/index.md @@ -1,19 +1,12 @@ --- title: Be More Productive by Being Bored -date: 2024-01-02T23:48:23Z +date: 2024-01-02 author: "ahmza" draft: false weight: -tags: ["Prodcutivity", "Lifestyle", "Minimalism"] +tags: ["prodcutivity", "lifestyle", "minimalism"] description: "In the modern age we are overwhelmed with stimuli. Learn to cut out the noise." -canonicalURL: "https://blog.ahmza.com/Page%28/posts/be-more-productive-by-being-bored.md%29" - -cover: - image: "/webp/posts/be-more-productive-by-being-bored/feature-anim.webp" # image path/url - alt: "" # alt text - caption: "" # display caption under cover - relative: false # when using page bundles set this to true --- ## **Introduction** diff --git a/static/img/hugo/feature.aseprite b/content/posts/hugo-ssg/feature.aseprite similarity index 100% rename from static/img/hugo/feature.aseprite rename to content/posts/hugo-ssg/feature.aseprite diff --git a/static/img/hugo/feature.webp b/content/posts/hugo-ssg/feature.webp similarity index 100% rename from static/img/hugo/feature.webp rename to content/posts/hugo-ssg/feature.webp diff --git a/content/posts/hugo-static-site-generator.md b/content/posts/hugo-ssg/index.md similarity index 89% rename from content/posts/hugo-static-site-generator.md rename to content/posts/hugo-ssg/index.md index 6f8a476..b8e1970 100644 --- a/content/posts/hugo-static-site-generator.md +++ b/content/posts/hugo-ssg/index.md @@ -1,19 +1,12 @@ --- title: HUGO Static Site Generator -date: 2021-12-26T00:23:22Z +date: 2021-12-26 author: "ahmza" draft: false weight: -tags: ["blog", "website", "web development", "HUGO"] +tags: ["web dev"] description: "HUGO is a static site generator. No idea what that is ? Check out this post to learn more !" -canonicalURL: "https://blog.ahmza.com/Page%28/posts/hugo-static-site-generator.md%29" - -cover: - image: "/img/hugo/feature.webp" # image path/url - alt: "*HUGO* logo" # alt text - caption: "The *HUGO* logo" # display caption under cover - relative: false # when using page bundles set this to true --- ## **Introduction** diff --git a/static/webp/posts/learn-linux/feature-anim.aseprite b/content/posts/learn-linux/feature.aseprite similarity index 100% rename from static/webp/posts/learn-linux/feature-anim.aseprite rename to content/posts/learn-linux/feature.aseprite diff --git a/static/webp/posts/learn-linux/feature-anim.webp b/content/posts/learn-linux/feature.webp similarity index 100% rename from static/webp/posts/learn-linux/feature-anim.webp rename to content/posts/learn-linux/feature.webp diff --git a/content/posts/you-need-to-learn-linux.md b/content/posts/learn-linux/index.md similarity index 91% rename from content/posts/you-need-to-learn-linux.md rename to content/posts/learn-linux/index.md index 3e5c15f..eb97b2b 100644 --- a/content/posts/you-need-to-learn-linux.md +++ b/content/posts/learn-linux/index.md @@ -1,21 +1,12 @@ --- title: You Need to Learn Linux 🐧 -date: 2021-12-17T19:16:50Z +date: 2021-12-17 author: "ahmza" draft: false weight: -tags: ["Linux"] +tags: ["linux"] description: "Here's why you should learn Linux" -canonicalURL: "https://blog.ahmza.com/Page%28/posts/you-need-to-learn-linux.md%29" - -cover: - image: "/webp/posts/learn-linux/feature-anim.webp" # image path/url - alt: "learn-linux" # alt text - caption: "" # display caption under cover - relative: false # when using page bundles set this to true -showtoc: true -searchHidden: false --- ## **Introduction** diff --git a/static/webp/posts/mc-docker/feature-anim.aseprite b/content/posts/mc-server-on-docker/feature.aseprite similarity index 100% rename from static/webp/posts/mc-docker/feature-anim.aseprite rename to content/posts/mc-server-on-docker/feature.aseprite diff --git a/static/webp/posts/mc-docker/feature-anim.webp b/content/posts/mc-server-on-docker/feature.webp similarity index 100% rename from static/webp/posts/mc-docker/feature-anim.webp rename to content/posts/mc-server-on-docker/feature.webp diff --git a/content/posts/minecraft-server-on-docker.md b/content/posts/mc-server-on-docker/index.md similarity index 93% rename from content/posts/minecraft-server-on-docker.md rename to content/posts/mc-server-on-docker/index.md index 2100bc0..2169285 100644 --- a/content/posts/minecraft-server-on-docker.md +++ b/content/posts/mc-server-on-docker/index.md @@ -1,21 +1,12 @@ --- title: Minecraft Server on Docker ⛏ 🐳 -date: 2022-05-24T09:33:35+01:00 +date: 2022-05-24 author: "ahmza" draft: false weight: -tags: ["Games", "Docker", "ARM"] +tags: ["games", "docker"] description: "Ever wanted to build a Minecraft server in docker !! Start here" -canonicalURL: "https://blog.ahmza.com/Page%28/posts/minecraft-server-on-docker.md%29" - -cover: - image: "/webp/posts/mc-docker/feature-anim.webp" # image path/url - alt: "Minecraft Loves Docker" # alt text - caption: "" # display caption under cover - relative: false # when using page bundles set this to true -showtoc: true -searchHidden: false --- ## **Introduction** diff --git a/static/webp/posts/reverse-proxy/feature-anim.aseprite b/content/posts/nginx-reverse-proxy/feature.aseprite similarity index 100% rename from static/webp/posts/reverse-proxy/feature-anim.aseprite rename to content/posts/nginx-reverse-proxy/feature.aseprite diff --git a/static/webp/posts/reverse-proxy/feature-anim.webp b/content/posts/nginx-reverse-proxy/feature.webp similarity index 100% rename from static/webp/posts/reverse-proxy/feature-anim.webp rename to content/posts/nginx-reverse-proxy/feature.webp diff --git a/content/posts/Setup-an-NGINX-Reverse-Proxy.md b/content/posts/nginx-reverse-proxy/index.md similarity index 93% rename from content/posts/Setup-an-NGINX-Reverse-Proxy.md rename to content/posts/nginx-reverse-proxy/index.md index b46e01c..645ac68 100644 --- a/content/posts/Setup-an-NGINX-Reverse-Proxy.md +++ b/content/posts/nginx-reverse-proxy/index.md @@ -1,21 +1,11 @@ --- - title: Setup an NGINX Reverse Proxy 🥸 date: 2021-12-01T22:59:00Z author: "ahmza" draft: false -tags: ["HomeLab", "Networking", "NGINX", "ReverseProxy"] +tags: ["home lab", "networking"] description: "Learn to setup a quick and easy reverse proxy using NGINX" -canonicalURL: "https://blog.ahmza.com/Page%28/posts/Setup-an-NGINX-Reverse-Proxy.md%29" - -cover: - image: "/webp/posts/reverse-proxy/feature-anim.webp" # image path/url - alt: "abstracted reverse proxy diagram" # alt text - caption: "" # display caption under cover - relative: false # when using page bundles set this to true - searchHidden: false - --- diff --git a/static/webp/posts/pi-docker-swarm/feature-anim.aseprite b/content/posts/pi-docker-swarm/feature.aseprite similarity index 100% rename from static/webp/posts/pi-docker-swarm/feature-anim.aseprite rename to content/posts/pi-docker-swarm/feature.aseprite diff --git a/static/webp/posts/pi-docker-swarm/feature-anim.webp b/content/posts/pi-docker-swarm/feature.webp similarity index 100% rename from static/webp/posts/pi-docker-swarm/feature-anim.webp rename to content/posts/pi-docker-swarm/feature.webp diff --git a/content/posts/building-a-docker-swarm-with-pis.md b/content/posts/pi-docker-swarm/index.md similarity index 97% rename from content/posts/building-a-docker-swarm-with-pis.md rename to content/posts/pi-docker-swarm/index.md index 4952378..66f3242 100644 --- a/content/posts/building-a-docker-swarm-with-pis.md +++ b/content/posts/pi-docker-swarm/index.md @@ -5,17 +5,8 @@ author: "ahmza" draft: false weight: -tags: ["Homelab", "Docker", "Docker Swarm", "Raspberry Pi", "Pi4"] +tags: ["home lab", "docker", "raspberry pi"] description: "Pis are very capable computers, when banded together they're almost unstoppable" -canonicalURL: "https://blog.ahmza.com/Page%28/posts/building-a-docker-swarm-with-pis.md%29" - -cover: - image: "/webp/posts/pi-docker-swarm/feature-anim.webp" # image path/url - alt: "Pi Docker Swarm" # alt text - caption: "" # display caption under cover - relative: false # when using page bundles set this to true -showtoc: true -searchHidden: false --- > This post is no longer valid as the cluster runs Kubernetes. The build process diff --git a/static/webp/posts/secure-ssh/feature-anim.aseprite b/content/posts/securing-ssh/feature.aseprite similarity index 100% rename from static/webp/posts/secure-ssh/feature-anim.aseprite rename to content/posts/securing-ssh/feature.aseprite diff --git a/static/webp/posts/secure-ssh/feature-anim.webp b/content/posts/securing-ssh/feature.webp similarity index 100% rename from static/webp/posts/secure-ssh/feature-anim.webp rename to content/posts/securing-ssh/feature.webp diff --git a/content/posts/securing-ssh.md b/content/posts/securing-ssh/index.md similarity index 100% rename from content/posts/securing-ssh.md rename to content/posts/securing-ssh/index.md diff --git a/content/posts/setup-a-hugo-site/feature.aseprite b/content/posts/setup-a-hugo-site/feature.aseprite new file mode 100644 index 0000000..29f9676 Binary files /dev/null and b/content/posts/setup-a-hugo-site/feature.aseprite differ diff --git a/content/posts/setup-a-hugo-site/feature.webp b/content/posts/setup-a-hugo-site/feature.webp new file mode 100644 index 0000000..4a5cb86 Binary files /dev/null and b/content/posts/setup-a-hugo-site/feature.webp differ diff --git a/content/posts/setup-a-hugo-site.md b/content/posts/setup-a-hugo-site/index.md similarity index 100% rename from content/posts/setup-a-hugo-site.md rename to content/posts/setup-a-hugo-site/index.md diff --git a/static/webp/posts/wsl/feature-anim.aseprite b/content/posts/setup-wsl/feature.aseprite similarity index 100% rename from static/webp/posts/wsl/feature-anim.aseprite rename to content/posts/setup-wsl/feature.aseprite diff --git a/static/webp/posts/wsl/feature-anim.webp b/content/posts/setup-wsl/feature.webp similarity index 100% rename from static/webp/posts/wsl/feature-anim.webp rename to content/posts/setup-wsl/feature.webp diff --git a/content/posts/setup-wsl.md b/content/posts/setup-wsl/index.md similarity index 100% rename from content/posts/setup-wsl.md rename to content/posts/setup-wsl/index.md diff --git a/static/webp/posts/wsl/ubuntu.webp b/content/posts/setup-wsl/ubuntu.webp similarity index 100% rename from static/webp/posts/wsl/ubuntu.webp rename to content/posts/setup-wsl/ubuntu.webp diff --git a/static/webp/posts/wsl/winterm-settings.webp b/content/posts/setup-wsl/winterm-settings.webp similarity index 100% rename from static/webp/posts/wsl/winterm-settings.webp rename to content/posts/setup-wsl/winterm-settings.webp diff --git a/static/webp/posts/wsl/winterm.webp b/content/posts/setup-wsl/winterm.webp similarity index 100% rename from static/webp/posts/wsl/winterm.webp rename to content/posts/setup-wsl/winterm.webp diff --git a/static/webp/posts/twitch-layoffs/feature-anim.webp b/content/posts/twitch-layoffs/feature.webp similarity index 100% rename from static/webp/posts/twitch-layoffs/feature-anim.webp rename to content/posts/twitch-layoffs/feature.webp diff --git a/content/posts/twitch-layoffs.md b/content/posts/twitch-layoffs/index.md similarity index 100% rename from content/posts/twitch-layoffs.md rename to content/posts/twitch-layoffs/index.md diff --git a/content/posts/welcome.md b/content/posts/welcome/index.md similarity index 100% rename from content/posts/welcome.md rename to content/posts/welcome/index.md diff --git a/content/search.md b/content/search.md deleted file mode 100644 index ff6080b..0000000 --- a/content/search.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: "Search" # in any language you want -layout: "search" # is necessary ---- diff --git a/content/tshirt.md b/content/tshirt.md deleted file mode 100644 index 8abb573..0000000 --- a/content/tshirt.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: "Tshirt" -layout: "tshirt" -url: "/tshirt/" -summary: Tshirt ---- - -## You Scanned me :D -well done you successfully scanned my t-shirt. - -You Don't get anything for doing so but here have a pop cat (touch his mouth): - -[![Catto](/webp/tshirt/cat.webp)](https://www.youtube.com/watch?v=dQw4w9WgXcQ) diff --git a/layouts/_default/contact.html b/layouts/_default/contact.html deleted file mode 100644 index 8d8dae6..0000000 --- a/layouts/_default/contact.html +++ /dev/null @@ -1,30 +0,0 @@ -{{- define "main" }} - -
-
-

- {{ .Title }} -

-
- - {{- if .Content }} -
- {{- if not (.Param "disableAnchoredHeadings") }} - {{- partial "anchored_headings.html" .Content -}} - {{- else }}{{ .Content }}{{ end }} -
- {{- end }} - -
- {{- $tags := .Language.Params.Taxonomies.tag | default "tags" }} - -
-
- -{{- end }}{{/* end main */}} - - diff --git a/layouts/_default/tshirt.html b/layouts/_default/tshirt.html deleted file mode 100644 index 2c9dbac..0000000 --- a/layouts/_default/tshirt.html +++ /dev/null @@ -1,29 +0,0 @@ -{{- define "main" }} - -
-
-

- {{ .Title }} -

-
- - {{- if .Content }} -
- {{- if not (.Param "disableAnchoredHeadings") }} - {{- partial "anchored_headings.html" .Content -}} - {{- else }}{{ .Content }}{{ end }} -
- {{- end }} - - -
- -{{- end }}{{/* end main */}} - diff --git a/manifest/prod/dep-blog.yml b/manifest/prod/dep-blog.yml deleted file mode 100644 index b1c1f00..0000000 --- a/manifest/prod/dep-blog.yml +++ /dev/null @@ -1,22 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: blog-deploy - namespace: blog -spec: - replicas: 3 - selector: - matchLabels: - app: blog-app - template: - metadata: - labels: - app: blog-app - spec: - containers: - - name: blog-app - image: registry.gitlab.com/ahmza/blog:1.2.6 - imagePullPolicy: Always - ports: - - name: web - containerPort: 80 diff --git a/manifest/prod/ing-blog.yml b/manifest/prod/ing-blog.yml deleted file mode 100644 index ad1d1d0..0000000 --- a/manifest/prod/ing-blog.yml +++ /dev/null @@ -1,41 +0,0 @@ - -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: blog-ing - namespace: blog - annotations: - kubernetes.io/ingress.class: nginx - cert-manager.io/cluster-issuer: letsencrypt - nginx.ingress.kubernetes.io/proxy-read-timeout: "3600" - nginx.ingress.kubernetes.io/proxy-send-timeout: "3600" - nginx.ingress.kubernetes.io/server-snippets: | - location / { - proxy_set_header Upgrade $http_upgrade; - proxy_http_version 1.1; - proxy_set_header X-Forwarded-Host $http_host; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_set_header X-Forwarded-For $remote_addr; - proxy_set_header Host $host; - proxy_set_header Connection "upgrade"; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header Upgrade $http_upgrade; - proxy_cache_bypass $http_upgrade; - } -spec: - tls: - - hosts: - - blog.ahmza.com - secretName: ahmza-com-tls - rules: - - host: "blog.ahmza.com" - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: blog-svc - port: - number: 80 diff --git a/manifest/prod/svc-blog.yml b/manifest/prod/svc-blog.yml deleted file mode 100644 index f1c3f89..0000000 --- a/manifest/prod/svc-blog.yml +++ /dev/null @@ -1,17 +0,0 @@ - -apiVersion: v1 -kind: Service -metadata: - name: blog-svc - namespace: blog - labels: - app: blog-app -spec: - type: ClusterIP - ports: - - name: http - port: 80 - targetPort: 80 - protocol: TCP - selector: - app: blog-app diff --git a/manifest/staging/dep-blog.yml b/manifest/staging/dep-blog.yml deleted file mode 100644 index 66c8274..0000000 --- a/manifest/staging/dep-blog.yml +++ /dev/null @@ -1,22 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: blog-staging-deploy - namespace: blog-staging -spec: - replicas: 3 - selector: - matchLabels: - app: blog-staging-app - template: - metadata: - labels: - app: blog-staging-app - spec: - containers: - - name: blog-staging-app - image: registry.gitlab.com/ahmza/blog:1.2.1 - imagePullPolicy: Always - ports: - - name: web - containerPort: 80 diff --git a/manifest/staging/ing-blog.yml b/manifest/staging/ing-blog.yml deleted file mode 100644 index 9c31a57..0000000 --- a/manifest/staging/ing-blog.yml +++ /dev/null @@ -1,41 +0,0 @@ - -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: blog-staging-ing - namespace: blog-staging - annotations: - kubernetes.io/ingress.class: nginx - cert-manager.io/cluster-issuer: letsencrypt - nginx.ingress.kubernetes.io/proxy-read-timeout: "3600" - nginx.ingress.kubernetes.io/proxy-send-timeout: "3600" - nginx.ingress.kubernetes.io/server-snippets: | - location / { - proxy_set_header Upgrade $http_upgrade; - proxy_http_version 1.1; - proxy_set_header X-Forwarded-Host $http_host; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_set_header X-Forwarded-For $remote_addr; - proxy_set_header Host $host; - proxy_set_header Connection "upgrade"; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header Upgrade $http_upgrade; - proxy_cache_bypass $http_upgrade; - } -spec: - tls: - - hosts: - - blog.local.ahmza.com - secretName: local-ahmza-com-tls - rules: - - host: "blog.local.ahmza.com" - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: blog-staging-svc - port: - number: 80 diff --git a/manifest/staging/svc-blog.yml b/manifest/staging/svc-blog.yml deleted file mode 100644 index 2a6e856..0000000 --- a/manifest/staging/svc-blog.yml +++ /dev/null @@ -1,17 +0,0 @@ - -apiVersion: v1 -kind: Service -metadata: - name: blog-staging-svc - namespace: blog-staging - labels: - app: blog-staging-app -spec: - type: ClusterIP - ports: - - name: http - port: 80 - targetPort: 80 - protocol: TCP - selector: - app: blog-staging-app diff --git a/static/img/SkullstacheHolographicSticker.png b/static/img/SkullstacheHolographicSticker.png deleted file mode 100644 index d5c3e8b..0000000 Binary files a/static/img/SkullstacheHolographicSticker.png and /dev/null differ diff --git a/static/img/favicon.png b/static/img/favicon.png deleted file mode 100755 index ddb04c4..0000000 Binary files a/static/img/favicon.png and /dev/null differ diff --git a/static/webp/tshirt/cat.webp b/static/webp/tshirt/cat.webp deleted file mode 100644 index 8bab535..0000000 Binary files a/static/webp/tshirt/cat.webp and /dev/null differ diff --git a/themes/PaperMod b/themes/PaperMod deleted file mode 160000 index 9c6cf13..0000000 --- a/themes/PaperMod +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 9c6cf13399257abd40508a92bf8f99bd8b12f523 diff --git a/themes/blowfish b/themes/blowfish new file mode 160000 index 0000000..1f08dcb --- /dev/null +++ b/themes/blowfish @@ -0,0 +1 @@ +Subproject commit 1f08dcb9d27a4b3460a38b4d772c2e06935891e6