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" . }}
|
||||
<section id="main" class="container">
|
||||
<section id="main" class="container">
|
||||
{{ partial "content.html" . }}
|
||||
{{ if ne .Params.hide_pages "true" }}
|
||||
<div class="row">
|
||||
|
@ -15,5 +15,5 @@
|
|||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</section>
|
||||
</section>
|
||||
{{ partial "page_end.html" . }}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{ partial "page_start.html" . }}
|
||||
<section id="main" class="container">
|
||||
<section id="main" class="container">
|
||||
{{ partial "content.html" . }}
|
||||
</section>
|
||||
</section>
|
||||
{{ partial "page_end.html" . }}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<link rel="alternate" type="application/rss+xml" href="{{ .Site.RSSLink }}" />
|
||||
<meta name="superfish" content="nofish" />
|
||||
<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" />
|
||||
|
||||
|
|
|
@ -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>
|
||||
<nav id="nav">
|
||||
<ul>
|
||||
|
@ -39,4 +39,4 @@
|
|||
<li class="top-level"><a class="show-mobile" href="/">Home</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
</header>
|
||||
|
|
|
@ -7,7 +7,5 @@
|
|||
{{ else }}
|
||||
<body>
|
||||
{{ end }}
|
||||
|
||||
{{ partial "navbar.html" . }}
|
||||
|
||||
<div id="page-wrapper">
|
||||
{{ partial "navbar.html" . }}
|
||||
<div id="page-wrapper">
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{{ if eq .Section "posts" }}
|
||||
{{ .Summary | truncate .Site.Params.summary_length "..." }}
|
||||
{{ else }}
|
||||
|
||||
{{ if .Params.subtitle }}
|
||||
{{ .Params.subtitle | markdownify }}
|
||||
{{ else if .Params.repo }}
|
||||
|
|
Loading…
Reference in a new issue