Add more social icons to footer (#70)
* Enable markdown in post titles * Update footer icons to no atrib assets
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
{{ if or (not (eq .Description "")) (not (eq .Title "")) -}}
|
||||
<header class="home-header" style="background-image: url('{{ "img/home-blob.svg" | absURL }}');">
|
||||
<div class="home-blob-text-container">
|
||||
{{ with .Title }}<h1 class="home-blob-title">{{ . }}</h1>{{ end }}
|
||||
{{ with .Title }}<h1 class="home-blob-title">{{ . | markdownify }}</h1>{{ end }}
|
||||
{{ with .Description }}<p class="home-blob-text">{{ . }}</p>{{ end }}
|
||||
</div>
|
||||
{{ with resources.GetMatch .Site.Params.headshotimg -}}
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
</div>
|
||||
{{ end }}
|
||||
<article class="card-body">
|
||||
<h2 class="card-title">{{ .Title }}</h2>
|
||||
<h2 class="card-title">{{ .Title | markdownify }}</h2>
|
||||
<p class="card-text">{{ if (isset .Params "description") }}{{ index .Params "description" | htmlUnescape }}{{ else }}{{ .Summary | plainify | htmlUnescape }}{{ end }}</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>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
</div>
|
||||
{{- end }}
|
||||
<article class="card-body">
|
||||
<h2 class="card-title">{{ .Title }}</h2>
|
||||
<h2 class="card-title">{{ .Title | markdownify }}</h2>
|
||||
<p class="card-text">{{ if (isset .Params "description") }}{{ index .Params "description" | htmlUnescape }}{{ else }}{{ .Summary | plainify | htmlUnescape }}{{ end }}</p>
|
||||
<div class="card-subtext muted-text">
|
||||
<p>Posted <time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "Jan 2, 2006" }}</time></p>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<main class="card-container side-gutter">
|
||||
{{ if or (not (eq .Description "")) (not (eq .Title "")) -}}
|
||||
<header class="list-header">
|
||||
{{ with .Title }}<h1 class="list-header-title">{{ . }}</h1>{{ end }}
|
||||
{{ with .Title | markdownify }}<h1 class="list-header-title">{{ . }}</h1>{{ end }}
|
||||
{{ with .Description }}<p class="list-header-subtext">{{ . }}</p>{{ end }}
|
||||
</header>
|
||||
{{- end }}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<main class="content side-text-padding">
|
||||
<article class="post {{ if ne .Params.dropcap false }}dropcase{{ end }}">
|
||||
<header class="post-header">
|
||||
<h1 class="post-title">{{ .Title }}</h1>
|
||||
<h1 class="post-title">{{ .Title | markdownify }}</h1>
|
||||
{{ if isset .Params "date" }}<p class="post-date">Posted <time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "Jan 2, 2006" }}</time></p>{{ end }}
|
||||
</header>
|
||||
{{ with .Resources.GetMatch "featuredImage" -}}
|
||||
|
||||
Reference in New Issue
Block a user