diff --git a/.gitmodules b/.gitmodules index f208aff..ffab4db 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,3 @@ -[submodule "themes/hugo-profile"] - path = themes/hugo-profile - url = https://github.com/gurusabarish/hugo-profile.git [submodule "themes/blowfish"] path = themes/blowfish url = https://github.com/nunocoracao/blowfish.git diff --git a/assets/me.jpg b/assets/me.jpg new file mode 100644 index 0000000..fe9fc3e Binary files /dev/null and b/assets/me.jpg differ diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml new file mode 100644 index 0000000..01417c7 --- /dev/null +++ b/config/_default/hugo.toml @@ -0,0 +1,69 @@ +# -- 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://your_domain.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 +summaryLength = 0 + +buildDrafts = false +buildFuture = false + +enableEmoji = true + +# googleAnalytics = "G-XXXXXXXXX" + +[pagination] + pagerSize = 100 + +[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..0398caa --- /dev/null +++ b/config/_default/languages.en.toml @@ -0,0 +1,12 @@ +disabled = false +languageCode = "en" +languageName = "English" +weight = 1 +title = "Ash Marlow" + +[params] +displayName = "EN" +isoCode = "en" +rtl = false +dateFormat = "2 January 2006" +logo = "AM.ico' " diff --git a/config/_default/markup.toml b/config/_default/markup.toml new file mode 100644 index 0000000..3eb8d83 --- /dev/null +++ b/config/_default/markup.toml @@ -0,0 +1,26 @@ +# -- Markup -- +# These settings are required for the theme to function. + +[goldmark] + [goldmark.parser] + wrapStandAloneImageWithinParagraph = false + + [goldmark.parser.attribute] + block = true + + [goldmark.renderer] + unsafe = true + + [goldmark.extensions] + [goldmark.extensions.passthrough] + enable = true + [goldmark.extensions.passthrough.delimiters] + block = [['\[', '\]'], ['$$', '$$']] + inline = [['\(', '\)']] + +[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..bbb41c5 --- /dev/null +++ b/config/_default/menus.en.toml @@ -0,0 +1,19 @@ +[[main]] +none = "none" + +[[main]] +name = "Blog" +pre = "blogger" +pageRef = "blog" +identifier = "nFHoX1odSg" +weight = 9_999 + +[[main]] +name = "About" +pre = "graduation-cap" +pageRef = "about" +identifier = "edI3anu9xS" +weight = 9_999 + +[[footer]] +none = "none" diff --git a/config/_default/module.toml b/config/_default/module.toml new file mode 100644 index 0000000..e69de29 diff --git a/config/_default/params.toml b/config/_default/params.toml new file mode 100644 index 0000000..b690cb2 --- /dev/null +++ b/config/_default/params.toml @@ -0,0 +1,109 @@ +colorScheme = "slate" +defaultAppearance = "dark" +autoSwitchAppearance = true +enableA11y = false +enableSearch = true +enableCodeCopy = true +enableStructuredBreadcrumbs = false +replyByEmail = false +disableImageOptimization = false +disableImageOptimizationMD = false +disableTextInHeader = false +hotlinkFeatureImage = false +fingerprintAlgorithm = "sha512" +giteaDefaultServer = "https://git.fsfe.org" +forgejoDefaultServer = "https://v11.next.forgejo.org" +firebase = { } +fathomAnalytics = { } +umamiAnalytics = { } +selineAnalytics = { } +buymeacoffee = { } +verification = { } +rssnext = { } +advertisement = { } + +[header] +layout = "basic" + +[footer] +showMenu = true +showCopyright = true +showThemeAttribution = true +showAppearanceSwitcher = true +showScrollToTop = true + +[homepage] +layout = "card" +showRecent = true +showRecentItems = 5 +showMoreLink = true +showMoreLinkDest = "/posts/" +cardView = true +cardViewScreenWidth = false +layoutBackgroundBlur = false +disableHeroImageFilter = false +homepageImage = "me.jpg" + +[article] +showDate = true +showViews = false +showLikes = false +showDateOnlyInArticle = false +showDateUpdated = false +showAuthor = true +showHero = false +layoutBackgroundBlur = true +layoutBackgroundHeaderSpace = true +showBreadcrumbs = false +showDraftLabel = true +showEdit = false +editAppendPath = true +seriesOpened = false +showHeadingAnchors = true +showPagination = true +invertPagination = false +showReadingTime = false +showTableOfContents = false +showTaxonomies = false +showCategoryOnly = false +showAuthorsBadges = false +showWordCount = false +showZenMode = false + +[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 = false + +[term] +showHero = false +showBreadcrumbs = false +showViews = false +showLikes = false +showTableOfContents = true +groupByYear = false +cardView = false +cardViewScreenWidth = false diff --git a/content/projects/garmin-eink/basic-setup.jpg b/content/blog/garmin-eink/basic-setup.jpg similarity index 100% rename from content/projects/garmin-eink/basic-setup.jpg rename to content/blog/garmin-eink/basic-setup.jpg diff --git a/content/projects/garmin-eink/featured.jpg b/content/blog/garmin-eink/featured.jpg similarity index 100% rename from content/projects/garmin-eink/featured.jpg rename to content/blog/garmin-eink/featured.jpg diff --git a/content/projects/garmin-eink/index.md b/content/blog/garmin-eink/index.md similarity index 100% rename from content/projects/garmin-eink/index.md rename to content/blog/garmin-eink/index.md diff --git a/content/projects/garmin-eink/medal.webp b/content/blog/garmin-eink/medal.webp similarity index 100% rename from content/projects/garmin-eink/medal.webp rename to content/blog/garmin-eink/medal.webp diff --git a/content/projects/smart-train/featured.png b/content/blog/smart-train/featured.png similarity index 100% rename from content/projects/smart-train/featured.png rename to content/blog/smart-train/featured.png diff --git a/content/projects/smart-train/index.md b/content/blog/smart-train/index.md similarity index 100% rename from content/projects/smart-train/index.md rename to content/blog/smart-train/index.md diff --git a/content/projects/smart-train/station.png b/content/blog/smart-train/station.png similarity index 100% rename from content/projects/smart-train/station.png rename to content/blog/smart-train/station.png diff --git a/content/projects/smart-train/tunnel.jpg b/content/blog/smart-train/tunnel.jpg similarity index 100% rename from content/projects/smart-train/tunnel.jpg rename to content/blog/smart-train/tunnel.jpg diff --git a/content/projects/solar-cells/Arduino.jpg b/content/blog/solar-cells/Arduino.jpg similarity index 100% rename from content/projects/solar-cells/Arduino.jpg rename to content/blog/solar-cells/Arduino.jpg diff --git a/content/projects/solar-cells/Multimeter.jpg b/content/blog/solar-cells/Multimeter.jpg similarity index 100% rename from content/projects/solar-cells/Multimeter.jpg rename to content/blog/solar-cells/Multimeter.jpg diff --git a/content/projects/solar-cells/featured.jpg b/content/blog/solar-cells/featured.jpg similarity index 100% rename from content/projects/solar-cells/featured.jpg rename to content/blog/solar-cells/featured.jpg diff --git a/content/projects/solar-cells/index.md b/content/blog/solar-cells/index.md similarity index 100% rename from content/projects/solar-cells/index.md rename to content/blog/solar-cells/index.md diff --git a/public/404.html b/public/404.html index 7ec3d97..11c27eb 100644 --- a/public/404.html +++ b/public/404.html @@ -1,13 +1,13 @@ - + @@ -35,7 +35,7 @@ - + @@ -85,8 +85,8 @@ + href="/css/main.bundle.min.9ad45a110b860f64037f0ac4bcec699ac86f9d98a9b33e37551c11ad228f0505a2d41b9e6606a0536060efe4034905ed57b1c3153a94af326c0eb0b92a05642e.css" + integrity="sha512-mtRaEQuGD2QDfwrEvOxpmshvnZipsz43VRwRrSKPBQWi1BueZgagU2Bg7+QDSQXtV7HDFTqUrzJsDrC5KgVkLg=="> @@ -113,6 +113,8 @@ + + @@ -123,8 +125,8 @@ defer type="text/javascript" id="script-bundle" - src="/js/main.bundle.min.b61ad3f6e0119d2611a72f3892ca8f75eb1da42ac1f74dafaf32e617ccb970be4b278131f9ad9f2eff9d4bd23e552e7881e2c821970c4bf8f47a2467bca1c933.js" - integrity="sha512-thrT9uARnSYRpy84ksqPdesdpCrB902vrzLmF8y5cL5LJ4Ex+a2fLv+dS9I+VS54geLIIZcMS/j0eiRnvKHJMw==" + src="/js/main.bundle.min.ddce0729419700936e0c03ec6f8766f25d6304e689ec0291bf18dfe90cf581a8b4d2f0136eae2dc6657f37ba9a194c38242716ed05cb312eb90715b367403743.js" + integrity="sha512-3c4HKUGXAJNuDAPsb4dm8l1jBOaJ7AKRvxjf6Qz1gai00vATbq4txmV/N7qaGUw4JCcW7QXLMS65BxWzZ0A3Qw==" data-copy="Copy" data-copied="Copied"> @@ -194,7 +196,7 @@ "name": "404 Page not found", "headline": "404 Page not found", - "inLanguage": "en-gb", + "inLanguage": "en", "url" : "http://localhost:1313/404.html", "author" : { "@type": "Person", @@ -259,6 +261,9 @@