Reformat templates
This commit is contained in:
parent
6e8797bba2
commit
e816a4186e
8 changed files with 66 additions and 69 deletions
|
@ -1,5 +1,5 @@
|
||||||
{{ partial "page_start.html" . }}
|
{{ partial "page_start.html" . }}
|
||||||
<section id="main" class="container">
|
<section id="main" class="container">
|
||||||
{{ partial "content.html" . }}
|
{{ partial "content.html" . }}
|
||||||
{{ if ne .Params.hide_pages "true" }}
|
{{ if ne .Params.hide_pages "true" }}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
@ -15,5 +15,5 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</section>
|
</section>
|
||||||
{{ partial "page_end.html" . }}
|
{{ partial "page_end.html" . }}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{ partial "page_start.html" . }}
|
{{ partial "page_start.html" . }}
|
||||||
<section id="main" class="container">
|
<section id="main" class="container">
|
||||||
{{ partial "content.html" . }}
|
{{ partial "content.html" . }}
|
||||||
</section>
|
</section>
|
||||||
{{ partial "page_end.html" . }}
|
{{ partial "page_end.html" . }}
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<link rel="alternate" type="application/rss+xml" href="{{ .Site.RSSLink }}" />
|
<link rel="alternate" type="application/rss+xml" href="{{ .Site.RSSLink }}" />
|
||||||
<meta name="superfish" content="nofish" />
|
<meta name="superfish" content="nofish" />
|
||||||
<meta name="application-name" content="{{ .Site.Title }}" />
|
<meta name="application-name" content="{{ .Site.Title }}" />
|
||||||
<link rel="icon" type="image/png" href="/img/logo-transparent.png" /s>
|
<link rel="icon" type="image/png" href="/img/logo-transparent.png" />
|
||||||
|
|
||||||
<link rel="stylesheet" href="/css/style.css" />
|
<link rel="stylesheet" href="/css/style.css" />
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<header id="header" {{ if .IsHome }}class="alt"{{ end }}>
|
<header id="header" {{ if .IsHome }}class="alt"{{ end }}>
|
||||||
<h1><a href="/" class="navbar-brand">{{ title .Site.Title }}</a></h1>
|
<h1><a href="/" class="navbar-brand">{{ title .Site.Title }}</a></h1>
|
||||||
<nav id="nav">
|
<nav id="nav">
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -39,4 +39,4 @@
|
||||||
<li class="top-level"><a class="show-mobile" href="/">Home</a></li>
|
<li class="top-level"><a class="show-mobile" href="/">Home</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
|
|
@ -7,7 +7,5 @@
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<body>
|
<body>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ partial "navbar.html" . }}
|
||||||
{{ partial "navbar.html" . }}
|
<div id="page-wrapper">
|
||||||
|
|
||||||
<div id="page-wrapper">
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{{ if eq .Section "posts" }}
|
{{ if eq .Section "posts" }}
|
||||||
{{ .Summary | truncate .Site.Params.summary_length "..." }}
|
{{ .Summary | truncate .Site.Params.summary_length "..." }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
|
|
||||||
{{ if .Params.subtitle }}
|
{{ if .Params.subtitle }}
|
||||||
{{ .Params.subtitle | markdownify }}
|
{{ .Params.subtitle | markdownify }}
|
||||||
{{ else if .Params.repo }}
|
{{ else if .Params.repo }}
|
||||||
|
|
Loading…
Reference in a new issue