diff --git a/layouts/_default/home.html b/layouts/_default/home.html index c4b5cee..002e699 100644 --- a/layouts/_default/home.html +++ b/layouts/_default/home.html @@ -1,6 +1,6 @@ {{ define "main" }}
- {{ .Content }} +
{{ .Content }}

{{ i18n "recent_posts" | default "Recent Articles" }}

diff --git a/static/css/main.css b/static/css/main.css index 9c102bd..06cc6ef 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -326,3 +326,15 @@ nav a:hover { font-size: 1.1rem; } } + +/* Drop cap on homepage intro */ +.home-content > p:first-child::first-letter { + font-family: 'Newsreader', Georgia, serif; + float: left; + font-size: 4rem; + line-height: 0.8; + padding-right: 0.15em; + margin-top: 0.05em; + font-weight: 700; + color: var(--ifk-accent); +}