Update to readable.css v1.1.0 (#13)
* Update to readable.css v1.1.0 data-style="classy" was also added to the <nav> element to preserve the same style as the previous default. * Use minified version of readable.css to save bandwidth The readable.css file is kept for readability sake of people using this template. --------- Co-authored-by: Benjamin Hollon <me@benjaminhollon.com>
This commit is contained in:
parent
bcd26f888b
commit
f3327bc67c
4 changed files with 52 additions and 20 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- This ensures your site looks right on mobile devices -->
|
||||
<link rel="stylesheet" type="text/css" href="/css/readable.css?v=1.0.1">
|
||||
<link rel="stylesheet" type="text/css" href="/css/readable.min.css?v=1.1.0">
|
||||
<meta name="description" content='{{ .Page.Description }}'>
|
||||
{{ if .Site.Params.favicon }}
|
||||
<link rel="shortcut icon" href="{{ relURL ($.Site.Params.favicon) }}" type="image/x-icon" /> <!-- Show a favicon for your site, if one is configured in the Params section of the config. -->
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<h1>{{ $.Site.Title }}</h1>
|
||||
<p>{{ $.Site.Params.subtitle }}</p>
|
||||
|
||||
<nav>
|
||||
<nav data-style="classy">
|
||||
{{ range .Site.Menus.main -}}
|
||||
<span>
|
||||
<a href="{{ .URL | absLangURL }}">{{ .Name }}</a>
|
||||
</span>
|
||||
{{- end }}
|
||||
</nav>
|
||||
</nav>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue