category menu
This commit is contained in:
@@ -9,9 +9,8 @@
|
||||
<h2 class="card-title">{{ .Title }}</h2>
|
||||
<p class="card-text">{{ .Description }}</p>
|
||||
<div class="card-subtext muted-text">
|
||||
<p style="margin: 0 1em 0 0;">Posted <time datetime="{{ .PublishDate.Format "2006-01-02 12:00" }}">{{ .PublishDate.Format "Jan 2, 2006" }}</time></p>
|
||||
<p style="margin: 0 1em 0 0;">|</p>
|
||||
<p style="margin: 0 1em 0 0;">#{{ .Params.categories }}</p>
|
||||
<p>Posted <time datetime="{{ .PublishDate.Format "2006-01-02 12:00" }}">{{ .PublishDate.Format "Jan 2, 2006" }}</time></p>
|
||||
<p>{{ range .Params.categories }}#{{ . }} {{ end }}</p>
|
||||
</div>
|
||||
</article>
|
||||
</a>
|
||||
@@ -2,10 +2,11 @@
|
||||
<html lang="{{ .Site.LanguageCode }}" dir="ltr">
|
||||
{{ partial "head.html" . }}
|
||||
<body class="list-body">
|
||||
{{ partial "nav-bar.html" . }}
|
||||
<main class="card-container side-gutter">
|
||||
<header class="list-header">
|
||||
<p class="list-header-subtext">Code It, Break It, Quick, Rewrite It</p>
|
||||
<h1 class="list-header-title">Technologic</h1>
|
||||
<p class="list-header-subtext">{{ .Description }}</p>
|
||||
<h1 class="list-header-title">{{ .Title }}</h1>
|
||||
</header>
|
||||
{{ range .Paginator.Pages }}
|
||||
{{ .Render "li" }}
|
||||
|
||||
@@ -10,9 +10,8 @@
|
||||
<h2 class="card-title">{{ .Title }}</h2>
|
||||
<p class="card-text">{{ .Description }}</p>
|
||||
<div class="card-subtext muted-text">
|
||||
<p style="margin: 0 1em 0 0;">Posted <time datetime="{{ .PublishDate.Format "2006-01-02 12:00" }}">{{ .PublishDate.Format "Jan 2, 2006" }}</time></p>
|
||||
<p style="margin: 0 1em 0 0;">|</p>
|
||||
<p style="margin: 0 1em 0 0;">#{{ .Params.categories }}</p>
|
||||
<p>Posted <time datetime="{{ .PublishDate.Format "2006-01-02 12:00" }}">{{ .PublishDate.Format "Jan 2, 2006" }}</time></p>
|
||||
<p>{{ range .Params.categories }}#{{ . }} {{ end }}</p>
|
||||
</div>
|
||||
</article>
|
||||
</a>
|
||||
@@ -6,7 +6,7 @@
|
||||
<main class="content side-padding">
|
||||
<article class="post">
|
||||
<header class="post-header">
|
||||
<h1 class="post-title">{{ .Title }}</h1>
|
||||
<h1 class="post-title">{{ .Title }}</h1>
|
||||
<p class="post-date">Posted <time datetime="{{ .PublishDate.Format "2006-01-02 12:00" }}">{{ .PublishDate.Format "Jan 2, 2006" }}</time></p>
|
||||
</header>
|
||||
{{ if isset .Params "featuredimage" }}
|
||||
|
||||
Reference in New Issue
Block a user