aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-09-06 21:44:11 +0200
committerOscar Najera <hi@oscarnajera.com>2023-09-06 21:44:11 +0200
commit4cf3f2e6297878a4a6303a886e24addd5cf4580f (patch)
tree193599c81185bda2876a9a9826e7ec4c4499e994 /layouts/partials
parent4aaada38d09811b6ee6a34f55b3a44514efa2aad (diff)
downloadhugo-minimalist-theme-4cf3f2e6297878a4a6303a886e24addd5cf4580f.tar.gz
hugo-minimalist-theme-4cf3f2e6297878a4a6303a886e24addd5cf4580f.tar.bz2
hugo-minimalist-theme-4cf3f2e6297878a4a6303a886e24addd5cf4580f.zip
Simplify and consolidate page styles
Use the section template instead of defining a new page type for the about page. In general I could build on pieces of markdown for each subsection.
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/header.html2
-rw-r--r--layouts/partials/open_section.html5
2 files changed, 1 insertions, 6 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 0778292..c0418b2 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -14,7 +14,7 @@
<label class="fr dn-ns ma2 pa3 menu-icon" for="menu-btn">
<span class="navicon bg-near-white"></span>
</label>
- <ul class="ma0 pa0 list overflow-hidden sans-serif">
+ <ul class="ma0 pa0 list overflow-hidden avenir">
{{ range .Site.Menus.main }}
<li class="fl-ns w3-hover-theme">
<a class="db f6 pa3 link near-white"
diff --git a/layouts/partials/open_section.html b/layouts/partials/open_section.html
deleted file mode 100644
index cf59ee8..0000000
--- a/layouts/partials/open_section.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<h2 class="baskerville f2 lh-title">{{ .Title }}</h2>
-
-<div class="main-content lh-copy">
- {{ .Content }}
-</div>