Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/austingebauer/devise.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraustingebauer <gebauer.austin@gmail.com>2019-11-26 08:03:34 +0300
committeraustingebauer <gebauer.austin@gmail.com>2019-11-26 08:03:34 +0300
commit3529d233747138724fb7cbf1fe66c769027efa94 (patch)
tree3698178d783928041d9e862f8a7bb53c537f5ec7 /layouts
parent536105781b978d67b3406808223773f105d94f4b (diff)
feat: new styling for content
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/baseof.html1
-rw-r--r--layouts/partials/footer.html4
-rw-r--r--layouts/posts/single.html22
3 files changed, 9 insertions, 18 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index cebb41b..62b9784 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -10,5 +10,4 @@
</div>
{{- partial "footer.html" . -}}
</body>
- <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</html>
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index e31deb1..39b1e6e 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,5 +1,5 @@
-<footer class="text-center">
+<footer class="text-center pb-1">
<small class="text-muted">
- &copy; Copyright {{ now.Format "2006"}}, Austin Gebauer
+ {{ .Site.Params.footer_text | safeHTML }}
</small>
</footer>
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index 552b915..de6046d 100644
--- a/layouts/posts/single.html
+++ b/layouts/posts/single.html
@@ -1,23 +1,15 @@
{{ define "main" }}
<div class="pl-sm-2">
- <div class="row">
- <div class="col-12 col-sm-6 pb-2">
- <a href="{{ .Permalink }}">Published {{ .Date.Format "January 2, 2006" }}</a>
- </div>
- <div class="col-12 col-sm-6 pb-2">
- {{ range .Params.tags }}
- <small><a href="{{ "/tags/" | relURL }}{{ . | urlize }}">#{{ . }}</a></small>
- {{ end }}
- </div>
- </div>
-
- <h3>{{ .Title }}</h3>
- {{ if .Params.Subtitle }}
+ <div class="mb-3">
+ <h3 class="mb-0">{{ .Title }}</h3>
+ {{ if .Params.Subtitle }}
<h5>{{ .Params.Subtitle }}</h5>
- {{ end }}
+ {{ end }}
+ <small>Published {{ .Date.Format "January 2, 2006" }}</small>
+ </div>
<article>
{{ .Content }}
</article>
</div>
-{{ end }} \ No newline at end of file
+{{ end }}