Skip to content

Commit 9b787b0

Browse files
committed
Add a blog section to the website
Signed-off-by: Andrea Frittoli <[email protected]>
1 parent 7c1a22e commit 9b787b0

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

assets/scss/_styles_project.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,19 @@
6262

6363
.slightly-opaque-image {
6464
opacity: 0.4;
65+
}
66+
67+
/* Styles for RSS link */
68+
.td-rss-button {
69+
font-size: 0;
70+
background-color: $primary;
71+
72+
&:hover {
73+
color: #fff;
74+
background-color: darken($primary, 10%);
75+
}
76+
77+
i { font-size: 20px; }
78+
79+
6580
}

config.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ enableMissingTranslationPlaceholders = true
1919
# Comment out to enable taxonomies in Docsy
2020
# disableKinds = ["taxonomy", "taxonomyTerm"]
2121

22+
# Enable rss
23+
rss_sections = ["blog"]
24+
2225
# You can add your own taxonomies
2326
[taxonomies]
2427
tag = "tags"

content/en/blog/_index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: Blog
3+
menu:
4+
main:
5+
weight: 40
6+
---

0 commit comments

Comments
 (0)