Skip to content
Snippets Groups Projects
Commit 7e4c9314 authored by micressor's avatar micressor
Browse files

Home: The font size of the slogan and the news headline should be smaller.

parent 980bc3f2
No related branches found
No related tags found
1 merge request!24Feature hugo migration
{{ define "main" }}
<h1>{{ with .Title }} {{ . }} {{ else }} {{ .Site.Title }} {{ end }}</h1>
<h2>{{ with .Title }} {{ . }} {{ else }} {{ .Site.Title }} {{ end }}</h2>
<p><strong>Latest News:</strong>
{{ range first 1 .Pages.ByDate.Reverse }}
<h3 itemprop="headline" class="blog-post-title">
<a href="{{.Permalink}}">{{.Title}}</a>
</h3>
<p class="blog-post-meta">{{.Date.Format "2006-01-02"}}
{{ if (isset .Params "author") }}
by {{ markdownify .Params.author }}
{{ end }}
</p>
{{ end }}
{{ .Content }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment