Skip to content

Commit 0e0c703

Browse files
Add Netlify config, update theme, add social media icons, and restore compatibility with Hugo 0.145.0 (#52)
This commit performs the following cleanups: - Updates the theme submodule to be compatible with Hugo 0.144.0 (we previously used Hugo 0.88.0 before I removed the binary in #51). I've updated to the tip of the tree as of 08/03/2025 to use the latest enhancements and ensure that we can build with new versions of Hugo, i.e., 0.140.0 and later - this also gets us Mastodon and LinkedIn social media icons that were previously missing - Dropped the "Categories" section from the navbar (it's currently empty on https://blog.pyodide.org/categories/) for now, we can always re-enable it later. - Added a configuration file for Netlify to pin the Hugo version
1 parent 02ee612 commit 0e0c703

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ params:
7575
[GitHub](https://github.com/pyodide/pyodide-blog).
7676
7777
socialIcons:
78+
- name: mastodon
79+
url: "https://fosstodon.org/@pyodide"
80+
- name: linkedin
81+
url: "https://www.linkedin.com/company/pyodide"
7882
- name: twitter
7983
url: "https://twitter.com/pyodide"
8084
- name: github
@@ -106,18 +110,14 @@ params:
106110
keys: ["title", "permalink", "summary", "content"]
107111
menu:
108112
main:
109-
- identifier: categories
110-
name: categories
111-
url: /categories/
112-
weight: 10
113113
- identifier: tags
114114
name: tags
115115
url: /tags/
116-
weight: 20
116+
weight: 10
117117
- identifier: archives
118118
name: archives
119119
url: /archives/
120-
weight: 30
120+
weight: 20
121121
# Read: https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#using-hugos-syntax-highlighter-chroma
122122
# pygmentsUseClasses: true
123123
markup:

netlify.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[build.environment]
2+
HUGO_VERSION = "0.145.0"
3+
4+
[build]
5+
base = "/"
6+
publish = "public"
7+
command = "hugo"

themes/hugo-PaperMod

Submodule hugo-PaperMod updated 98 files

0 commit comments

Comments
 (0)