Compare commits

...

3 commits

4 changed files with 34 additions and 13 deletions

View file

@ -129,10 +129,12 @@ figure {
background-color: v.$color_hr;
border: 1px solid v.$color_tertiary;
padding: 4px;
text-align: center;
}
figure img {
max-width: 100%;
border: 1px solid v.$color_tertiary;
}
figcaption p {

10
i18n/ro.toml Normal file
View file

@ -0,0 +1,10 @@
Published = ""
Updated = ""
By = ""
'Show larger map' = ""
Telephone = ""
Email = ""
Fax = ""
'Address' = ""
'Our Team' = ""
'Contact Us' = ""

View file

@ -1,10 +1,13 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ range .Pages }}
<section>
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ range .Pages }}
{{ $dateMachineP := .PublishDate | time.Format "2006-01-02T15:04:05-07:00" }}
{{ $dateHumanP := .PublishDate | time.Format ":date_long" }}
<section>
<h2 class="no-bottom-margin"><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
<h4 class="no-top-margin"><time datetime="{{ $dateMachineP }}">{{ $dateHumanP }}</time></h4>
{{ .Summary }}
</section>
{{ end }}
</section>
{{ end }}
{{ end }}

View file

@ -1,7 +1,13 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ range .Pages }}
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
{{ end }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ range .Pages }}
{{ $dateMachineP := .PublishDate | time.Format "2006-01-02T15:04:05-07:00" }}
{{ $dateHumanP := .PublishDate | time.Format ":date_long" }}
<section>
<h2 class="no-bottom-margin"><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
<h4 class="no-top-margin"><time datetime="{{ $dateMachineP }}">{{ $dateHumanP }}</time></h4>
{{ .Summary }}
</section>
{{ end }}
{{ end }}