Merge pull request #2143 from ZhenShuo2021/dev/segment

🧑‍💻 chore: add options for faster development
This commit is contained in:
Nuno Coração
2025-05-27 00:12:37 +01:00
committed by GitHub
3 changed files with 17 additions and 1 deletions
+9
View File
@@ -69,3 +69,12 @@ googleAnalytics = "G-PEDMYR1V0K"
name = 'fragmentrefs'
type = 'fragments'
weight = 10
# Render only specific parts of the site for faster development. Use: hugo --renderSegments site_core
[segments]
[segments.site_core]
[[segments.site_core.includes]]
path = '{/,/docs,/docs/**,/samples,/samples/**}'
[segments.en_only]
[[segments.en_only.includes]]
lang = 'en'