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; background-color: v.$color_hr;
border: 1px solid v.$color_tertiary; border: 1px solid v.$color_tertiary;
padding: 4px; padding: 4px;
text-align: center;
} }
figure img { figure img {
max-width: 100%; max-width: 100%;
border: 1px solid v.$color_tertiary;
} }
figcaption p { 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" }} {{ define "main" }}
<h1>{{ .Title }}</h1> <h1>{{ .Title }}</h1>
{{ .Content }} {{ .Content }}
{{ range .Pages }} {{ range .Pages }}
<section> {{ $dateMachineP := .PublishDate | time.Format "2006-01-02T15:04:05-07:00" }}
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2> {{ $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 }} {{ .Summary }}
</section> </section>
{{ end }} {{ end }}
{{ end }} {{ end }}

View file

@ -1,7 +1,13 @@
{{ define "main" }} {{ define "main" }}
<h1>{{ .Title }}</h1> <h1>{{ .Title }}</h1>
{{ .Content }} {{ .Content }}
{{ range .Pages }} {{ range .Pages }}
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2> {{ $dateMachineP := .PublishDate | time.Format "2006-01-02T15:04:05-07:00" }}
{{ end }} {{ $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 }} {{ end }}