Skip to content

Commit 89e3ded

Browse files
committed
Slowly setting up the config, no github yet, basic menu config
1 parent 4bb14d0 commit 89e3ded

10 files changed

Lines changed: 456 additions & 62 deletions

File tree

config/_default/config.toml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
baseurl = "https://specoding.com"
2+
title = "Spec Coding"
3+
languageCode = "en-us"
4+
# theme = "mainroad"
5+
theme = ["github.com/chipzoller/hugo-clarity"]
6+
disqusShortname = "works-on-their-machines"
7+
googleAnalytics = "" # Enable Google Analytics by entering your tracking id
8+
9+
[params]
10+
[params.author]
11+
name = "Spec Coding"
12+
bio = "All things Spec Coding, Spec Driven Development, Vibers welcome!"
13+
#Automation with Ansible. About 2/3rds of my time is automating production cloud deployments and developing both code and training content. I also deliver Automation training globally to both Red Hat and Partner Consultants and Architects on cloud infrastructure using Ansible and on OpenShift/Kubernetes."
14+
avatar = "images/avatar.png"
15+
16+
[taxonomies]
17+
author = "authors"
18+
19+
[pagination]
20+
pagerSize = 10 # Use the same number you had for paginate
21+
22+
[security.exec]
23+
allow = ['^(dart-)?sass(-embedded)?$', '^go$', '^git$', '^npx$', '^postcss$', '^tailwindcss$', '^asciidoctor$']
24+
25+
[Params]
26+
subtitle = "Tony Kay's Blog on AI Engineering, HybridCloud and Container Automation" # Subtitle of your site
27+
description = "An AI Engineering, Automation, and Cloud Centric personal blog" # Description of your site
28+
opengraph = true
29+
twitter_cards = false
30+
readmore = false # Show "Read more" button in list if true
31+
homeLayout = "content + sidebar" # Configure home page layout
32+
listLayout = "content + sidebar" # Configure layout for list pages
33+
singleLayout = "content + sidebar" # Configure layout for single pages
34+
authorbox = true
35+
post_navigation = true
36+
postSections = ["post"]
37+
#disablePathToLower = true
38+
##preserveTaxonomyNames = true
39+
# syntaxHighlighter = "highlight.js"
40+
#pygmentsStyle = "paraiso-dark"
41+
#[[params.customJS]]
42+
# src = "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/yaml.min.js"
43+
# integrity = "sha256-tvm0lHsuUZcOfj/0C9xJTU4OQx5KpUgxUcAXLX5kvwA="
44+
# crossorigin = "anonymous"
45+
# async = true
46+
# defer = true
47+
48+
#[Params.sidebar]
49+
# home = "right" # Configure layout for home page
50+
# list = "left" # Configure layout for list pages
51+
# single = false # Configure layout for single pages
52+
# # Enable widgets in given order
53+
# widgets = ["search", "recent", "categories", "taglist", "social", "languages"]
54+
55+
[Params.widgets]
56+
search = true # Enable "Search" widget
57+
recent_articles = true # Enable "Recent arcticles" widget
58+
#categories = true # Enable "Categories" widget
59+
tags = true # Enable "Tags" widget
60+
tags_counter = true # Enable counter for each tag in "Tags" widget (disabled by default)
61+
social = true
62+
github = "tonykay"
63+
64+
#[Params.widgets.social]
65+
# # Enable parts of social widget
66+
# github = "tonykay"
67+
# facebook = "username"
68+
# twitter = "username"
69+
# instagram = "username"
70+
# linkedin = "username"
71+
# telegram = "username"
72+
# gitlab = "username"
73+
# bitbucket = "username"
74+
# email = "example@example.com"
75+
# google_plus = "profileid"

config/_default/configTaxo.toml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
timeout = 30000
2+
enableInlineShortcodes = true
3+
footnoteReturnLinkContents = "^"
4+
5+
[privacy]
6+
7+
[privacy.vimeo]
8+
disabled = false
9+
simple = true
10+
11+
[privacy.twitter]
12+
disabled = false
13+
enableDNT = true
14+
simple = true
15+
disableInlineCSS = true
16+
17+
[privacy.instagram]
18+
disabled = false
19+
simple = true
20+
21+
[privacy.youtube]
22+
disabled = false
23+
privacyEnhanced = true

config/_default/hugo.toml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# set `baseurl` to your root domain
2+
# if you set it to "/" share icons won't work properly on production
3+
baseurl = "https://specoding.com/" # Include trailing slash
4+
# title = "Clarity" # Edit directly from config/_default/languages.toml # alternatively, uncomment this and remove `title` entry from the aforemention file.
5+
copyright = "Copyright © 2008–2025, Steve Francia and the Hugo Authors; all rights reserved."
6+
# canonifyurls = true
7+
8+
theme = "hugo-clarity"
9+
disqusShortname = ""
10+
11+
DefaultContentLanguage = "en"
12+
# [languages]
13+
# config/_default/languages.toml
14+
15+
# [menus]
16+
# config/_default/menus/menu.xx.toml
17+
18+
[taxonomies]
19+
category = "categories"
20+
tag = "tags"
21+
series = "series"
22+
23+
[outputs]
24+
home = ["HTML", "RSS", "JSON"]
25+
26+
[pagination]
27+
pagerSize = 10

config/_default/languages.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[en]
2+
title = "AI Assembler"
3+
LanguageName = "English"
4+
weight = 1
5+
6+
# [pt]
7+
# title = "Claridade" # just for the sake of showing this is possible
8+
# LanguageName = "Português"
9+
# weight = 2
10+
11+
# tip: assign the default language the lowest Weight

config/_default/markup.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[goldmark]
2+
[goldmark.renderer]
3+
hardWraps = false
4+
unsafe = true # change to false to disable inclusion of rawHTML and math functions
5+
xhtml = false
6+
[goldmark.extensions]
7+
typographer = false
8+
[highlight]
9+
codeFences = true
10+
guessSyntax = true
11+
hl_Lines = "--"
12+
lineNoStart = 1
13+
lineNos = true # always set to true # else line numbers won't show at all! even when you toggle them on in the UI
14+
lineNumbersInTable = false # toggling this on (i.e to true) or deleting this line will break the code blocks functionality. Will
15+
noClasses = false
16+
# style = "monokai"
17+
tabWidth = 2

config/_default/menus/menu.en.toml

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
# See example at https://github.com/chipzoller/hugo-clarity/blob/master/exampleSite/config/_default/menus/menu.en.toml
2+
# Created bt Tony Kay 2025-10-11
3+
4+
[[main]]
5+
name = "Home"
6+
url = ""
7+
weight = -110
8+
9+
[[main]]
10+
name = "Spec Coding Tooling"
11+
identifier = "Spec Coding Tooling"
12+
url = "post/rich-content/"
13+
weight = -109
14+
[[main]]
15+
parent = "Spec Coding Tooling"
16+
name = "spec-kit"
17+
url = "post/rich-content/"
18+
[[main]]
19+
parent = "Spec Coding Tooling"
20+
name = "Kiro"
21+
url = "post/rich-content/"
22+
[[main]]
23+
parent = "Spec Coding Tooling"
24+
name = "openspec"
25+
url = "post/rich-content/"
26+
27+
[[main]]
28+
name = "Claude Code"
29+
identifier = "Claude Code"
30+
url = "post/claude-code/"
31+
weight = -108
32+
33+
34+
35+
# Submenus are done this way: parent -> identifier
36+
# [[main]]
37+
# name = "Links"
38+
# identifier = "Links"
39+
# weight = -108
40+
# [[main]]
41+
# parent = "Links"
42+
# name = "LinkedIn"
43+
# url = "https://www.linkedin.com/"
44+
# [[main]]
45+
# parent = "Links"
46+
# name = "X"
47+
# url = "https://x.com/"
48+
49+
50+
[[main]]
51+
name = "Resources"
52+
url = "resources/"
53+
weight = -107
54+
55+
[[main]]
56+
name = "About"
57+
url = "about/"
58+
weight = -105
59+
60+
# [[main]]
61+
# name = "Archives"
62+
# url = "post/rich-content/"
63+
# weight = -109
64+
65+
# Submenus are done this way: parent -> identifier
66+
# [[main]]
67+
# name = "Links"
68+
# identifier = "Links"
69+
# weight = -108
70+
# [[main]]
71+
# parent = "Links"
72+
# name = "LinkedIn"
73+
# url = "https://www.linkedin.com/"
74+
# [[main]]
75+
# parent = "Links"
76+
# name = "Twitter"
77+
# url = "https://twitter.com/"
78+
79+
# [[main]]
80+
# name = "About"
81+
# url = "about/"
82+
# weight = -107
83+
84+
# social menu links
85+
86+
[[social]]
87+
name = "github"
88+
type = "social"
89+
weight = 1
90+
url = "https://github.com/tonykay"
91+
[[social]]
92+
name = "twitter"
93+
weight = 2
94+
url = "https://twitter.com/cloud_assembler"
95+
[[social]]
96+
name = "linkedin"
97+
weight = 3
98+
url = "https://www.linkedin.com/in/tonykay"
99+
[[social]]
100+
name = "youtube"
101+
weight = 4
102+
url = "https://www.linkedin.com/in/tonykay"
103+
[[social]]
104+
name = "rss"
105+
weight = 4
106+
url = "index.xml"
107+
108+
109+
# [[social]]
110+
# name = "discord"
111+
# url = "discord://-/users/userid"
112+
# #https://discord.gg/tok8888"
113+
# weight = 4
114+
115+
# other supported social links
116+
# name = "youtube"
117+
# url = "https://www.youtube.com/#"
118+
# name = "facebook"
119+
# url = "https://facebook.com/#"
120+
# name = "instagram"
121+
# url = "https://instagram.com/#"
122+
# name = "stackoverflow"
123+
# url = "https://stackoverflow.com/#"
124+
# name = "gitlab"
125+
# url = "https://gitlab.com/#"
126+
# name = "discord"
127+
# url = "https://discord.gg/#"
128+
# name = "bluesky"
129+
# url = "https://bsky.app/profile/#"

0 commit comments

Comments
 (0)