Skip to content

Commit 2594da9

Browse files
authored
Merge pull request #1 from spindev/anatole
changing theme to anatole
2 parents eea1ac0 + be38e1a commit 2594da9

File tree

13 files changed

+90
-125
lines changed

13 files changed

+90
-125
lines changed

.gitmodules

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
[submodule "themes/puppet"]
2-
path = themes/puppet
3-
url = https://github.com/spindev/hugo-theme-puppet.git
1+
[submodule "themes/anatole"]
2+
path = themes/anatole
3+
url = https://github.com/Spindev/hugo-theme-anatole.git

config.toml

Lines changed: 60 additions & 120 deletions
Original file line numberDiff line numberDiff line change
@@ -1,134 +1,74 @@
1-
baseURL = "/"
2-
title = "SpinDev"
1+
theme = "anatole"
32

4-
theme = "puppet"
5-
6-
copyright = "© 2022 SpinDev"
7-
paginate = 3
8-
languageCode = "en"
9-
defaultContentLanguage = "en"
10-
11-
hasCJKLanguage = true
12-
enableInlineShortcodes = true
3+
[params]
4+
title = "My Blog"
5+
author = "SpinDev"
6+
description = "Some insights in my work and my life."
7+
keywords = "DevOps, GitHub, Azure DevOps, GitHub Pages, Azure"
8+
profilePicture = "images/logo.png"
9+
copyright = "SpinDev 2022-{{ YEAR }}"
10+
displayMode = "dark"
11+
contentratio = 0.7
12+
singleDateFormat = "02.01.2006"
13+
indexDateFormat = "02.01.2006"
14+
listDateFormat = "02.01.2006"
15+
readMore = true
16+
rssFullContent = true
17+
18+
[[params.socialIcons]]
19+
icon = "fab fa-github"
20+
title = "GitHub"
21+
url = "https://github.com/spindev/"
22+
23+
[[params.socialIcons]]
24+
icon = "fab fa-linkedin"
25+
title = "Linkedin"
26+
url = "https://de.linkedin.com/till-spindler-78207024b"
27+
28+
[[params.socialIcons]]
29+
icon = "fas fa-certificate"
30+
title = "credly"
31+
url = "https://credly.com/users/till-spindler/badges"
32+
33+
[[params.socialIcons]]
34+
icon = "fas fa-envelope"
35+
title = "e-mail"
36+
url = "mailto:hello@spindev.org"
37+
38+
[[params.socialIcons]]
39+
icon = "fas fa-rss"
40+
title = "rss"
41+
url = "/index.xml"
42+
43+
mainSections = ["posts"]
1344
enableEmoji = true
14-
# prevent build failures when using Hugo's Instagram shortcode due to deprecated Instagram API.
15-
# See https://github.com/gohugoio/hugo/issues/7228#issuecomment-714490456
16-
ignoreErrors = ["error-remote-getjson"]
17-
18-
disqusShortname = ""
19-
googleAnalytics = ""
20-
21-
[outputs]
22-
home = ["HTML", "JSON", "RSS"]
23-
24-
# prevent build failures when using Hugo's template _internal/opengraph.html
25-
[taxonomies]
26-
category = "categories"
27-
tag = "tags"
28-
series = "series"
45+
enableRobotsTXT = true
2946

30-
[markup]
31-
[markup.highlight]
32-
noClasses = true
33-
codeFences = true
34-
guessSyntax = true
35-
lineNos = true
36-
lineNumbersInTable = false
37-
style = "dracula"
38-
39-
[markup.goldmark.renderer]
40-
unsafe = true
47+
[mermaid]
48+
enable = true
4149

4250
[menu]
4351
[[menu.main]]
44-
identifier = "start"
45-
name = "Start"
52+
name = "Home"
53+
identifier = "home"
54+
weight = 100
4655
url = "/"
47-
weight = -100
48-
# [[menu.main]]
49-
# identifier = "archive"
50-
# name = "Archive"
51-
# url = "/archive/"
52-
# weight = 10
56+
57+
[[menu.main]]
58+
name = "Posts"
59+
weight = 200
60+
identifier = "posts"
61+
url = "/posts/"
62+
5363
[[menu.main]]
54-
identifier = "Smart Home"
5564
name = "Smart Home"
65+
weight = 300
66+
identifier = "smart-home"
5667
url = "/smart-home/"
57-
weight = 30
68+
5869
[[menu.main]]
59-
identifier = "about"
6070
name = "About"
71+
weight = 400
72+
identifier = "about"
6173
url = "/about/"
62-
weight = 50
63-
64-
[params]
65-
author = "SpinDev"
66-
description = "Some insights in my work and my life."
67-
keywords = "DevOps, GitHub, Azure DevOps, GitHub Pages, Azure"
68-
img_home = "img/home-bg.jpg"
69-
img_404 = "img/404-bg.jpg"
70-
71-
useFaviconGenerator = true
72-
73-
custom_js = []
74-
custom_css = [] # ["css/custom.css"] Add your file to assets folder [assets/css/custom.css]
75-
76-
[params.sidebar]
77-
enable = true
78-
gravatarEmail = ""
79-
# Overwritten by your gravatar image if `gravatarEmail` is filled
80-
avatar = "img/home-bg.jpg"
81-
bio = "DevOps, Azure & Smart Home"
82-
83-
[params.social]
84-
github = "Spindev"
85-
linkedin = "till-spindler-78207024b"
86-
credly = "till-spindler"
87-
rss = true
88-
89-
[[params.friends]]
90-
name = "Xpirit Insights"
91-
url = "https://xpirit.com/news/"
92-
93-
[[params.friends]]
94-
name = "Michael Kaufmann"
95-
url = "https://writeabout.net"
96-
97-
[[params.friends]]
98-
name = "Thomas Tomow"
99-
url = "https://tomow.de"
100-
101-
[[params.friends]]
102-
name = "Michael Contento"
103-
url = "https://michaelcontento.de"
104-
105-
[[params.friends]]
106-
name = "Robin Konrad"
107-
url = "https://robinkonrad.de"
108-
109-
[[params.friends]]
110-
name = "Andreas Läubli"
111-
url = "https://powerranger.space"
112-
113-
[[params.friends]]
114-
name = "Rob Bos"
115-
url = "https://devopsjournal.io/"
116-
117-
[[params.friends]]
118-
name = "Hindrik Bruinsma"
119-
url = "https://cloudcosmonaut.io/"
120-
121-
[[params.friends]]
122-
name = "Bas van de Sande"
123-
url = "https://azurecodingarchitect.com/"
12474

125-
# See https://giscus.app/
126-
[params.giscus]
127-
enable = false
128-
repo = "roninro/hugo-theme-puppet"
129-
repo_id = "R_kgDOHuvyhw"
130-
category = "General"
131-
category_id = "DIC_kwDOHuvyh84CQjDo"
132-
input_position = "top"
133-
theme = "light_tritanopia"
134-
lang = "en"

content/_index.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
+++
2+
author = "SpinDev"
3+
+++
4+
5+
<!--
6+
This file is left intentionally empty by default to be backwards compatible with the initial theme setup.
7+
8+
Although the theme has advanced a little bit and it now allows to specify the content on the main page (even if the list of posts/articles is not intended).
9+
This can be:
10+
- with the list of posts/articles (default: `mainSections = ["post"]) or
11+
- without the list of posts/articles (by setting `mainSections = [""]`)
12+
13+
Markdown supported, ie:
14+
15+
```
16+
# Welcome
17+
18+
- Hugo :rocket:
19+
- Hugo theme :rocket:
20+
21+
Don't forget to check the README.md file!
22+
```
23+
24+
Remember that you can also specify a section header for the posts below by configuring the `mainSectionsTitle` parameter in the front matter of this file.
25+
-->
File renamed without changes.

content/posts/getting-started/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ I followed this pretty easy and straightforward [guide](https://www.freecodecamp
1414

1515
Over the next days I will add some new content and finalize the blog setup.
1616

17-
Feel free to subscribe my [RSS-Feed](index.xml) or connect via [LinkedIn](https://linkedin.com/in/Till%20Spindler) or [GitHub](https://github.com/Spindev).
17+
Feel free to subscribe my [RSS-Feed](/index.xml) or connect via [LinkedIn](https://linkedin.com/in/Till%20Spindler) or [GitHub](https://github.com/Spindev).
1818

1919
Also you can checkout the blogs of my friends.
File renamed without changes.
5.07 KB
Loading

static/favicons/favicon-16x16.png

365 Bytes
Loading

static/favicons/favicon-32x32.png

661 Bytes
Loading

static/favicons/favicon.ico

15 KB
Binary file not shown.

0 commit comments

Comments
 (0)