diff options
| author | Sivaldo <git@sivaldodavi.com> | 2026-06-29 18:36:52 -0300 |
|---|---|---|
| committer | Sivaldo <git@sivaldodavi.com> | 2026-06-29 18:36:52 -0300 |
| commit | dd7670cf72b27c1b330d3732a483ca22e3a3db18 (patch) | |
| tree | 16d4e458d93cd7181d4ebc950ed406b45038f53b /layouts/partials/navbar.html | |
Commit inicial
Diffstat (limited to 'layouts/partials/navbar.html')
| -rw-r--r-- | layouts/partials/navbar.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html new file mode 100644 index 0000000..83bf631 --- /dev/null +++ b/layouts/partials/navbar.html @@ -0,0 +1,17 @@ +<nav class="nav-container {{ if .IsHome }}home-nav{{ else }}post-nav{{ end }}"> + {{ if .IsHome }} + <a href="{{ .Site.BaseURL }}escritos/">escritos</a> + <a href="{{ .Site.BaseURL }}leituras/">leituras</a> + <a href="{{ .Site.BaseURL }}curriculo/">currĂculo</a> + <a href="{{ .Site.BaseURL }}contact/">contato</a> + {{ else }} + <div class="centered-post-title"> + <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> + </div> + <div class="post-nav-links"> + <a href="{{ .Site.BaseURL }}escritos/">escritos</a> + <a href="{{ .Site.BaseURL }}leituras/">leituras</a> + <a href="{{ .Site.BaseURL }}curriculo/">currĂculo</a> + </div> + {{ end }} +</nav> |
