Move to double quotes

This commit is contained in:
C. Lente 2023-02-09 17:51:22 -03:00
parent 6d88b28c14
commit cba0246af9
No known key found for this signature in database
GPG Key ID: B0B503C26E05781B
5 changed files with 13 additions and 12 deletions

View File

@ -6,8 +6,8 @@ baseURL = "https://example.com"
theme = "hugo-bearcub"
# Basic metadata configuration for your blog.
author = "Caio Lente"
copyright = "Caio Lente (CC BY-SA 4.0)"
author = "John Doe"
copyright = "John Doe (CC BY-SA 4.0)"
# highlighting without inline styles
[markup]
@ -25,19 +25,21 @@ DefaultContentLanguage = "en"
[languages.en]
title = "Example Site"
languageName = "English 🇺🇸"
LanguageCode = "en-US"
contentDir = "content"
weight = 1
[languages.en.params]
# You can use markdown here if you want to link somewhere
madeWith = '[Feito de pedra](/posts/sites-de-pedra)'
madeWith = "[Feito de pedra](/posts/sites-de-pedra)"
[languages.pt]
title = "Site Exemplo"
languageName = "Português 🇧🇷"
LanguageCode = "pt-BR"
contentDir = "content.pt"
weight = 2
[languages.pt.params]
# You can use markdown here if you want to link somewhere
madeWith = '[Feito de pedra](/posts/sites-de-pedra)'
madeWith = "[Feito de pedra](/posts/sites-de-pedra)"
[params]
# The "description" of your website. This is used in the meta data of your generated html.
@ -66,4 +68,4 @@ DefaultContentLanguage = "en"
hideUntranslated = false
# Email
email = "c@lente.dev"
email = "me@example.com"

View File

@ -1,5 +1,5 @@
[filtering-for]
other = 'Filtering for'
other = "Filtering for"
[email-subject]
other = 'Reply to '
other = "Reply to "

View File

@ -1,5 +1,5 @@
[filtering-for]
other = 'Filtrando para'
other = "Filtrando para"
[email-subject]
other = 'Resposta a '
other = "Resposta a "

View File

@ -25,8 +25,7 @@
</li>
{{ end }}
</ul>
{{ if .Data.Singular }}
{{else}}
{{ if not .Data.Singular }}
<div>
{{ range .Site.Taxonomies.tags }}
<a class="blog-tags" href="{{ .Page.Permalink }}">#{{ .Page.Title }}</a>&nbsp;&nbsp;

View File

@ -1,7 +1,7 @@
{{ range .Site.Menus.main.ByWeight }}
<a href="{{ .URL | absLangURL }}">{{ .Name }}</a>
{{ end }}
<a href="mailto:{{ .Site.Params.email }}?subject={{ i18n "email-subject" }}'{{ .Page.Title | default .Site.Title }}'">Email</a>
<a href='mailto:{{ .Site.Params.email }}?subject={{ i18n "email-subject" }}"{{ .Page.Title | default .Site.Title }}"'>Email</a>
<a href="/index.xml">RSS</a>
{{ $pageLang := .Page.Lang }}
{{ if .IsTranslated }}