Add ability to add about me page
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
<a ontouchstart="cardPressed.call(this)" ontouchend="cardReleased.call(this)" ontouchmove="cardReleased.call(this)"
|
||||
href="{{ .Permalink }}" class="card blog-card" rel="bookmark" >
|
||||
{{ if isset .Params "featuredimage" }}
|
||||
<div class="card-img-container">
|
||||
<img src="{{ .Site.BaseURL }}/{{.Params.featuredimage }}" class="card-img">
|
||||
</div>
|
||||
{{ end }}
|
||||
<article class="card-body">
|
||||
<h2 class="card-title">{{ .Title }}</h2>
|
||||
<p class="card-text">{{ .Description }}</p>
|
||||
<div class="card-subtext muted-text">
|
||||
<p>Posted <time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "Jan 2, 2006" }}</time></p>
|
||||
<p>{{ range .Params.categories }}#{{ . }} {{ end }}</p>
|
||||
</div>
|
||||
</article>
|
||||
</a>
|
||||
@@ -8,7 +8,7 @@
|
||||
<p class="list-header-subtext">{{ .Description }}</p>
|
||||
<h1 class="list-header-title">{{ .Title }}</h1>
|
||||
</header>
|
||||
{{ range .Paginator.Pages }}
|
||||
{{ range where .Paginator.Pages "Params.list" true }}
|
||||
{{ .Render "li" }}
|
||||
{{ end }}
|
||||
</main>
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
<a ontouchstart="cardPressed.call(this)" ontouchend="cardReleased.call(this)" ontouchmove="cardReleased.call(this)"
|
||||
href="{{ .Permalink }}" class="card blog-card" rel="bookmark" >
|
||||
{{ if isset .Params "featuredimage" }}
|
||||
<div class="card-img-container">
|
||||
<p class="card-img-overlay">Next Article</p>
|
||||
<img src="{{ .Site.BaseURL }}/{{.Params.featuredimage }}" class="card-img">
|
||||
</div>
|
||||
{{ end }}
|
||||
<article class="card-body">
|
||||
<h2 class="card-title">{{ .Title }}</h2>
|
||||
<p class="card-text">{{ .Description }}</p>
|
||||
<div class="card-subtext muted-text">
|
||||
<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>
|
||||
@@ -7,7 +7,6 @@
|
||||
<article class="post">
|
||||
<header class="post-header">
|
||||
<h1 class="post-title">{{ .Title }}</h1>
|
||||
<p class="post-date">Posted <time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "Jan 2, 2006" }}</time></p>
|
||||
</header>
|
||||
{{ if isset .Params "featuredimage" }}
|
||||
<figure class="post-figure">
|
||||
@@ -16,14 +15,8 @@
|
||||
{{ end }}
|
||||
{{ .Content }}
|
||||
</article>
|
||||
<!--
|
||||
If you're going to use DISQUS comments, insert code here.
|
||||
-->
|
||||
</main>
|
||||
<nav class="end-nav side-padding">
|
||||
{{ with .Next }}
|
||||
{{ .Render "single-li" }}
|
||||
{{ end }}
|
||||
{{ partial "home-card.html" . }}
|
||||
</nav>
|
||||
{{ partial "scripts.html" . }}
|
||||
|
||||
Reference in New Issue
Block a user