fix: fix article regresssion (#250)

* refactor: output article element when needed

* refactor: refactor container styles and media queries

- Add the `$tablet` variable to `_container.scss`
- Add a media query to `_container.scss`
- Import `_container.scss` in `critical.scss`
- Remove the import of `_container.scss` in `style.scss`
This commit is contained in:
Spedon
2024-01-22 20:35:15 +08:00
committed by GitHub
parent 1a3fade5fc
commit 49e9f904e2
4 changed files with 25 additions and 19 deletions

View File

@@ -7,8 +7,10 @@
</script>
<div class="container">
{{- partial "nav.html" . -}}
<article class="info">
{{ .Content }}
</article>
{{- with .Content -}}
<article class="info">
{{- . -}}
</article>
{{- end -}}
</div>
{{- end -}}