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

View File

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

View File

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

View File

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

View File

@ -1,7 +1,7 @@
{{ range .Site.Menus.main.ByWeight }} {{ range .Site.Menus.main.ByWeight }}
<a href="{{ .URL | absLangURL }}">{{ .Name }}</a> <a href="{{ .URL | absLangURL }}">{{ .Name }}</a>
{{ end }} {{ 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> <a href="/index.xml">RSS</a>
{{ $pageLang := .Page.Lang }} {{ $pageLang := .Page.Lang }}
{{ if .IsTranslated }} {{ if .IsTranslated }}