Create and edit markdown for the walkerblog pipeline. Escreva sempre em sintaxe Obsidian — o CI converte automaticamente antes do build. Nunca use diretamente no source.
Workflow: Creating a Hugo Post
Add TOML frontmatter with title, date, tags, and draft status at the top of the file
Write content using standard Markdown for structure
Link related notes using Obsidian wikilinks ([[Note Name]]) — o CI converte para shortcodes Hugo automaticamente
Add Hugo shortcodes para funcionalidades especiais (figures, youtube, etc.)
Deploy via git push → GitHub Actions pipeline
Use [[wikilinks]] para notas internas (o CI converte). Use [text](url) para URLs externas.
TOML Frontmatter
Hugo uses TOML frontmatter delimited by +++:
+++title = "My Blog Post"date = "2024-01-15T10:30:00"tags = ["blogging", "hugo", "static-sites"]
draft = false+++
Required fields:
title - Post title (quoted string)
date - Publication date (ISO format recommended)
draft - Boolean (false for published, true for drafts)
hugo server # Start dev serverhugo server -D # Include drafts
Deployment
Push to main branch - triggers GitHub Actions
Automatic build - Hugo processes all content
Wikilink conversion - obsidian-to-hugo.py runs
Deploy to GitHub Pages - via pages.yml workflow
Theme-Specific Features (hugo-bearblog)
Minimal Design
Focus on content over aesthetics
Fast loading (no JavaScript by default)
Clean typography
Configuration
Key settings in config.toml:
[params]
title = "Blog Title" description = "Blog description"# Hide "made with" line hideMadeWith = true
Portuguese Support
languageCode = "pt-BR"
Complete Example
+++
title = "Reflexões sobre Static Site Generators"
date = "2024-01-15T09:00:00"
tags = ["web", "hugo", "jamstack", "reflexão"]
draft = false
+++
# Reflexões sobre Static Site Generators
Depois de migrar de WordPress para Hugo, algumas observações sobre o processo.
## Vantagens Descobertas
- **Performance**: Sites estáticos são naturalmente rápidos
- **Segurança**: Sem banco de dados, sem vulnerabilidades comuns
- **Versionamento**: Todo conteúdo no Git
## Integração com Obsidian
A combinação Hugo + Obsidian permite:
1. Escrever em ambiente familiar
2. Manter links internos funcionais
3. Publicar automaticamente
Ver também: meu workflow atual## Próximos Passos
- Explorar Hugo Modules- Implementar busca no site- Melhorar SEO
Troubleshooting
Common Issues
Wikilinks not converting: Check that obsidian-to-hugo.py is running in the GitHub Actions workflow.
TOML syntax errors: Ensure all strings are properly quoted, especially titles with special characters.
Build failures: Check Hugo version compatibility and verify all shortcodes are properly closed.
Missing assets: Ensure images and files are in the correct bundle directory structure.
Validation
Local testing:
hugo server --navigateToChanged # Auto-refresh on changes
Build testing:
hugo --minify # Production build
Link checking: Manually verify wikilinks resolve correctly in the built site.