diff --git a/assets/scss/style.scss b/assets/scss/style.scss index 6d622d5..6445893 100644 --- a/assets/scss/style.scss +++ b/assets/scss/style.scss @@ -18,21 +18,6 @@ } } -.site-main { - display: flex; - min-height: 100vh; - flex-direction: column; - align-items: start; - justify-content: space-between; - max-width: 400px; - margin: auto; - font-size: 1.5rem; - - @media (max-width: 448px) { - margin-left: 24px; - } -} - #home-center { display: flex; flex-direction: column; diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 1d95ff1..dc525d6 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,29 +1,33 @@ +{{ define "header" }} +{{ partialCached "header.html" . }} +{{ end }} + {{ define "main" }}
-
-
-

{{ .Title }}

- {{- if .Content }} -
- {{ .Content }} -
- {{- end }} - {{- range .Data.Pages.GroupByDate "2006" }} -
-
{{ .Key }}
- -
- {{- end }} +

{{ .Title }}

+ {{- if .Content }} +
+ {{ .Content }}
- {{ partialCached "footer.html" . }} + {{- end }} + {{- range .Data.Pages.GroupByDate "2006" }} +
+
{{ .Key }}
+ +
+ {{- end }}
{{ end }} + +{{ define "footer" }} +{{ partialCached "footer.html" . }} +{{ end }} diff --git a/resources/_gen/assets/scss/scss/style.scss_c16d144eee185fbddd582cd5e25a4fae.content b/resources/_gen/assets/scss/scss/style.scss_c16d144eee185fbddd582cd5e25a4fae.content index 8f00a34..a5867d4 100644 --- a/resources/_gen/assets/scss/scss/style.scss_c16d144eee185fbddd582cd5e25a4fae.content +++ b/resources/_gen/assets/scss/scss/style.scss_c16d144eee185fbddd582cd5e25a4fae.content @@ -1 +1 @@ -#page{height:100vh;margin:0}#spotlight{display:flex;min-height:100vh;flex-direction:column;align-items:start;justify-content:space-between;max-width:400px;margin:auto;font-size:1.5rem}@media(max-width:448px){#spotlight{margin-left:24px}}.site-main{display:flex;min-height:100vh;flex-direction:column;align-items:start;justify-content:space-between;max-width:400px;margin:auto;font-size:1.5rem}@media(max-width:448px){.site-main{margin-left:24px}}#home-center{display:flex;flex-direction:column;align-items:flex-start}#home-title{color:#202020;font-family:Inter;font-size:48px;font-style:normal;font-weight:500;line-height:normal}#home-nav{display:flex;flex-direction:column}#home-nav a{color:#252525;font-family:Inter;font-size:40px;font-style:normal;font-weight:400;line-height:150%;text-decoration-line:underline}#home-footer{width:100%}#home-footer p{color:#5c5c5c;font-family:Inter;font-size:20px;font-style:normal;font-weight:300;line-height:normal;display:flex;gap:8px;justify-content:center}#home-footer a{color:#5c5c5c;font-family:Inter;font-size:20px;font-style:normal;font-weight:300;line-height:normal;display:flex;gap:8px;justify-content:center;text-decoration:none}#home-footer a:hover{text-decoration:underline} \ No newline at end of file +#page{height:100vh;margin:0}#spotlight{display:flex;min-height:100vh;flex-direction:column;align-items:start;justify-content:space-between;max-width:400px;margin:auto;font-size:1.5rem}@media(max-width:448px){#spotlight{margin-left:24px}}#home-center{display:flex;flex-direction:column;align-items:flex-start}#home-title{color:#202020;font-family:Inter;font-size:48px;font-style:normal;font-weight:500;line-height:normal}#home-nav{display:flex;flex-direction:column}#home-nav a{color:#252525;font-family:Inter;font-size:40px;font-style:normal;font-weight:400;line-height:150%;text-decoration-line:underline}#home-footer{width:100%}#home-footer p{color:#5c5c5c;font-family:Inter;font-size:20px;font-style:normal;font-weight:300;line-height:normal;display:flex;gap:8px;justify-content:center}#home-footer a{color:#5c5c5c;font-family:Inter;font-size:20px;font-style:normal;font-weight:300;line-height:normal;display:flex;gap:8px;justify-content:center;text-decoration:none}#home-footer a:hover{text-decoration:underline} \ No newline at end of file diff --git a/resources/_gen/assets/scss/scss/style.scss_c16d144eee185fbddd582cd5e25a4fae.json b/resources/_gen/assets/scss/scss/style.scss_c16d144eee185fbddd582cd5e25a4fae.json index 3cff7dd..857ac06 100644 --- a/resources/_gen/assets/scss/scss/style.scss_c16d144eee185fbddd582cd5e25a4fae.json +++ b/resources/_gen/assets/scss/scss/style.scss_c16d144eee185fbddd582cd5e25a4fae.json @@ -1 +1 @@ -{"Target":"css/style.min.b015a743c1f12087b41b84e4609a96c8682e7da91d1909bab57c0cd66c14e56a.css","MediaType":"text/css","Data":{"Integrity":"sha256-sBWnQ8HxIIe0G4TkYJqWyGgufakdGQm6tXwM1mwU5Wo="}} \ No newline at end of file +{"Target":"css/style.min.f4ea5985f9188d16b9ac508538abf66f97df7294853954e9df0daca2feb13c68.css","MediaType":"text/css","Data":{"Integrity":"sha256-9OpZhfkYjRa5rFCFOKv2b5ffcpSFOVTp3w2sov6xPGg="}} \ No newline at end of file