Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
GO_VERSION: 1.26.1
HUGO_VERSION: 0.160.0
NODE_VERSION: 24.14.1
TZ: Europe/Oslo
TZ: America/Sao_Paulo
steps:
- name: Checkout
uses: actions/checkout@v6
Expand Down
1 change: 1 addition & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ layoutDir = "layouts"
publishDir = "public"
dropsDir = "drops"

#
[permalinks]
posts = "/posts/:year/:month/:title/"

Expand Down
12 changes: 8 additions & 4 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="author" content="{{ if .Params.author }}{{ .Params.author }}{{ else }}{{ range .Site.Params.author }}{{ . }} {{ end }}{{ end }}">

<meta name="author" content="{{ with .Params.author }}{{ . }}{{ else }}{{ .Site.Params.author }}{{ end }}">

<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.homeSubtitle }}{{ else }}{{ if .Params.Description }}{{ .Params.Description }}{{ else }}{{ .Summary | plainify }}{{ end }}{{ end }}" />
<meta name="keywords" content="{{ .Site.Params.keywords }}{{ if .Params.tags }}{{ range .Params.tags }}, {{ . }}{{ end }}{{ end }}" />
<meta name="robots" content="noodp" />
Expand Down Expand Up @@ -54,7 +56,7 @@

<!-- JSON Feed -->
{{ if .OutputFormats.Get "json" }}
<link href="{{ if .OutputFormats.Get "json" }}{{ .Site.BaseURL }}feed.json{{ end }}" rel="alternate"
<link href="{{ .Site.BaseURL }}feed.json" rel="alternate"
type="application/json" title="{{ .Site.Title }}" />
{{ end }}

Expand All @@ -63,11 +65,13 @@
{{ partial "extra-head.html" . }}
{{- end }}

<!-- Google Analytics internal template -->
<!-- Google Analytics (DESABILITADO - incompatível com Hugo novo)
{{/*
{{- if .Site.GoogleAnalytics }}
{{ template "_internal/google_analytics.html" . }}
{{- end}}

*/}}
-->
<!-- Plausible.io -->
{{- if $.Site.Params.plausibleDataDomain }}
<script defer data-domain="{{ .Site.Params.plausibleDataDomain }}" src="{{ .Site.Params.plausibleScriptSource }}"></script>
Expand Down
Loading