feat: add blog list layout

chore: add toc to mobile dropdown menu single items

chore: refactor sidebar

chore: add single layout for blog

chore: add vscode settings

chore: add blog section

chore: add devcontainer.json

chore: exclude icon from mobile nav

chore: support multiple theme switches

- simplify theme switch implementation using data attributes
- hide theme switch when sidebar is disabled

chore: add theme switch to footer

- enable when sidebar is disabled

chore: add format-date partial
This commit is contained in:
Xin
2023-08-07 23:48:07 +01:00
parent 2f34627da3
commit a7aa9fa1cb
16 changed files with 429 additions and 75 deletions

View File

@ -56,8 +56,8 @@ defaultContentLanguage = 'en'
pageRef = '/docs'
weight = 10
[[menu.main]]
name = 'Showcase'
pageRef = '/showcase'
name = 'Blog'
pageRef = '/blog'
weight = 20
[[menu.main]]
name = 'About'
@ -81,3 +81,8 @@ defaultContentLanguage = 'en'
name = 'Hugo Docs ↗'
url = 'https://gohugo.io/documentation/'
weight = 20
[params]
dateFormat = 'January 2, 2006'
displayUpdatedDate = true