From c2cf45cd11a82943bff95026fc327b477c5241c5 Mon Sep 17 00:00:00 2001 From: Curtis Bunch Date: Sun, 7 Apr 2024 17:52:23 -0500 Subject: [PATCH] changing themes again --- .gitmodules | 3 + hugo.toml | 151 +++++++++++++++++----------------------------- themes/hugo-coder | 1 + 3 files changed, 60 insertions(+), 95 deletions(-) create mode 100644 .gitmodules create mode 160000 themes/hugo-coder diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..ce3490a --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/hugo-coder"] + path = themes/hugo-coder + url = https://github.com/luizdepra/hugo-coder.git diff --git a/hugo.toml b/hugo.toml index d793007..9287579 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,107 +1,68 @@ -baseURL = "/" -title = "Testing Hugo" -languageCode = "en-us" -theme = "poison" -paginate = 10 -pluralizelisttitles = false # removes the automatically appended "s" on sidebar entries +baseurl = "http://www.cudabu.io" +title = "Curtis Bunch" +theme = "hugo-coder" +languagecode = "en" +defaultcontentlanguage = "en" -# NOTE: If using Disqus as commenting engine, uncomment and configure this line -# disqusShortname = "yourDisqusShortname" +paginate = 20 -[params] - brand = "Poison" # name of your site - appears in the sidebar - # remote_brand_image = 'https://github.com/USERNAME.png' # path to a remote file - # brand_image = "/images/test.jpg" # path to the image shown in the sidebar - description = "Update this description..." # Used as default meta description if not specified in front matter - dark_mode = true # optional - defaults to false - # favicon = "favicon.png" # path to favicon (defaults to favicon.png) +disqusShortname = "cudabu" - front_page_content = ["posts"] # Equivalent to the default value, add page bundle names to include them on the front page. +[markup.highlight] +style = "github-dark" - # MENU PLACEHOLDER - # Menu dict keys: - # Name: The name to display on the menu. - # URL: The directory relative to the content directory. - # HasChildren: If the directory's files should be listed. Default is true. - # Limit: If the files should be listed, how many should be shown. - menu = [ - {Name = "About", URL = "/about/", HasChildren = false}, - {Name = "Posts", URL = "/posts/", Pre = "Recent", HasChildren = true, Limit = 5}, - ] +[params] + author = "Curtis Bunch" + info = "System Administrator and DevOps Magician" + description = "John Doe's personal website" + keywords = "blog,developer,personal" + avatarurl = "images/avatar.png" + #gravatar = "cbunch@gmail.com" - # Links to your socials. Comment or delete any you don't need/use. - discord_url = "https://discord.com" - email_url = "mailto://user@domain" - facebook_url = "https://facebook.com" - flickr_url = "https://flickr.com" - github_url = "https://github.com" - gitlab_url = "https://gitlab.com" - instagram_url = "https://instagram.com" - linkedin_url = "https://linkedin.com" - mastodon_url = "https://mastodon.social" - matrix_url = "https://matrix.org" - telegram_url = "https://telegram.org" - tryhackme_url = "https://tryhackme.com" - twitter_url = "https://twitter.com" - xmpp_url = "https://xmpp.org" - youtube_url = "https://youtube.com" + faviconSVG = "/img/favicon.svg" + favicon_32 = "/img/favicon-32x32.png" + favicon_16 = "/img/favicon-16x16.png" - # NOTE: If you don't want to use RSS, comment or delete the following lines - # Adds an RSS icon to the end of the socials which links to {{ .Site.BaseURL }}/index.xml - rss_icon = true - # Which section the RSS icon links to, defaults to all content. See https://gohugo.io/templates/rss/#section-rss - rss_section = "posts" + since = 2019 - # Hex colors for your sidebar. - moon_sun_background_color = "#515151" # default is #515151 - moon_sun_color = "#FFF" # default is #FFF - sidebar_a_color = "#FFF" # default is #FFF - sidebar_bg_color = "#202020" # default is #202020 - sidebar_h1_color = "#FFF" # default is #FFF - sidebar_img_border_color = "#515151" # default is #515151 - sidebar_p_color = "#909090" # default is #909090 - sidebar_socials_color = "#FFF" # default is #FFF + enableTwemoji = true - # Hex colors for your content in light mode. - code_color = "#000" # default is #000 - code_background_color = "#E5E5E5" # default is #E5E5E5 - code_block_color = "#FFF" # default is #FFF - code_block_background_color = "#272822" # default is #272822 - content_bg_color = "#FAF9F6" # default is #FAF9F6 - date_color = "#515151" # default is #515151 - link_color = "#268BD2" # default is #268BD2 - list_color = "#5A5A5A" # default is #5A5A5A - post_title_color = "#303030" # default is #303030 - table_border_color = "#E5E5E5" # default is #E5E5E5 - table_stripe_color = "#F9F9F9" # default is #F9F9F9 - text_color = "#222" # default is #222 + colorScheme = "auto" + hidecolorschemetoggle = false - # Hex colors for your content in dark mode - code_color_dark = "#FFF" # default is #FFF - code_background_color_dark = "#515151" # default is #515151 - code_block_color_dark = "#FFF" # default is #FFF - code_block_background_color_dark = "#272822" # default is #272822 - content_bg_color_dark = "#121212" # default is #121212 - date_color_dark = "#9A9A9A" # default is #9A9A9A - link_color_dark = "#268BD2" # default is #268BD2 - list_color_dark = "#9D9D9D" # default is #9D9D9D - post_title_color_dark = "#DBE2E9" # default is #DBE2E9 - table_border_color_dark = "#515151" # default is #515151 - table_stripe_color_dark = "#202020" # default is #202020 - text_color_dark = "#EEE" # default is #EEE + # customCSS = ["css/custom.css"] + # customSCSS = ["scss/custom.scss"] + # customJS = ["js/custom.js"] - # NOTE: If using Remark42 as commenting engine, uncomment and configure these lines - # remark42 = true - # remark42_host = "https://yourhost.com" - # remark42_site_id = "your_site_id" +[taxonomies] + category = "categories" + series = "series" + tag = "tags" + author = "authors" - # NOTE: The following three params are optional and are used to create meta tags + enhance SEO. - # og_image = "" # path to social icon - front matter: image takes precedent, then og_image, then brand_url - # this is also used in the schema output as well. Image is resized to max 1200x630 - # For this to work though og_image and brand_url must be a path inside the assets directory - # e.g. /assets/images/site/og-image.png becomes images/site/og-image.png - # publisher_icon = "" # path to publisher icon - defaults to favicon, used in schema +# Social links +[[params.social]] + name = "Github" + icon = "fa-brands fa-github fa-2x" + weight = 1 + url = "https://github.com/johndoe/" +[[params.social]] + name = "Gitlab" + icon = "fa-brands fa-gitlab fa-2x" + weight = 2 + url = "https://gitlab.com/johndoe/" +[[params.social]] + name = "Twitter" + icon = "fa-brands fa-x-twitter fa-2x" + weight = 3 + url = "https://twitter.com/johndoe/" -[taxonomies] - series = 'series' - tags = 'tags' \ No newline at end of file +# Menu links +[[menu.main]] + name = "Blog" + weight = 1 + url = "posts/" +[[menu.main]] + name = "About" + weight = 2 + url = "about/" \ No newline at end of file diff --git a/themes/hugo-coder b/themes/hugo-coder new file mode 160000 index 0000000..0078e66 --- /dev/null +++ b/themes/hugo-coder @@ -0,0 +1 @@ +Subproject commit 0078e66aebe8d796ee5d3e0ae9b1766009518d8c