commit 8c626d4515ec55335ae48e13b48e339f7bf969b3 Author: Ducky Date: Sun May 14 01:54:05 2023 +1000 Init commit diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..e84a7c7 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/hugo-blog-awesome"] + path = themes/hugo-blog-awesome + url = https://github.com/hugo-sid/hugo-blog-awesome.git diff --git a/.hugo_build.lock b/.hugo_build.lock new file mode 100644 index 0000000..e69de29 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/assets/avatar.jpg b/assets/avatar.jpg new file mode 100755 index 0000000..652b1ea Binary files /dev/null and b/assets/avatar.jpg differ diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..b98fa08 --- /dev/null +++ b/config.toml @@ -0,0 +1,93 @@ +baseURL = 'http://example.org/' +title = 'DuckyLabs Blog' + +theme = 'hugo-blog-awesome' + +# This is what goes in +languageCode = 'en-us' + +# This defines how dates are formatted +defaultContentLanguage = "en-gb" + +# To enable Google Analytics 4 (gtag.js) provide G-MEASUREMENT_ID below. +# To disable Google Analytics, simply leave the field empty or remove the next line +googleAnalytics = '' # G-MEASUREMENT_ID + +# Enable emojis globally +enableEmoji = true + +# To enable Disqus comments, provide Disqus Shortname below. +# To disable Disqus comments, simply leave the field empty or remove the next line +disqusShortname = '' + +# set markup.highlight.noClasses=false to enable code highlight +[markup] + [markup.highlight] + noClasses = false + [markup.goldmark.renderer] + unsafe = true + +[menu] + [[menu.main]] + # The page reference (pageRef) is useful for menu highlighting + # When pageRef is set, setting `url` is optional; it will be used as a fallback if the page is not found. + pageRef="/" + name = 'Home' + url = '/' + weight = 10 + [[menu.main]] + pageRef="posts" + name = 'Posts' + url = '/posts/' + weight = 20 + [[menu.main]] + pageRef="about" + name = 'About' + url = '/about/' + weight = 30 + +[params] + sitename = "Awesome hugo blog" + defaultColor = "dark" # set color mode: dark, light, auto + # Setting it to 'auto' applies the color scheme based on the visitor's device color preference.If you don't specify anything, ignore this parameter, or leave it blank, + # the default value is set to 'auto'. + # You can take a look at layouts/index.html for more information. + description = "Minimal Hugo blog theme with light and dark mode support" + mainSections = ['posts'] + toc = true # set to false to disable table of contents 'globally' + goToTop = true # set to false to disable 'go to top' button + +[params.author] + avatar = "avatar.jpg" # put the file in assets folder; also ensure that image has same height and width + # Note: image is not rendered if the resource(avatar image) is not found. No error is displayed. + intro = "Ducky's blog" + name = "Ducky" + description = "A place for a passionate self-taught developer, to share tutorials, insights, and nerdy adventures in the world of tech and development." + +# Allow to override webmanifest options +[params.webmanifest] + name = "sitename" # will use "params.sitename" or "title" by default + short_name = "sitename" # same as name + start_url = "/" # will use homepage url by default + theme_color = "#434648" # default is "#434648" (base color of text). Also will override html `` + background_color = "#fff" # by default depend on "params.defaultColor" for "light" or "auto" will be set to "#fff" for dark will be "#131418" (color of dark mode background) + display = "standalone" + +# Allow to override `browserconfig.xml` params (configuration for windows embeded browsers) +[params.browserconfig] + TileColor = "#2d89ef" # default windows 10 blue tile color + +[tableOfContents] +startLevel = 2 # ToC starts from H2 +endLevel = 4 # ToC ends at H4 +ordered = false # generates