495a3b0289
* refactor(WIP): add new SCSS mixin `respond` Theme's stylesheet mixes the use of max-width and min-width for responsive design, and it's horrible. * refactor: update variable.scss to use @mixin respond * refactor(grid): adjust sidebar max-width * refactor(partials/article.scss): use `@include respond` * refactor(layout/article.scss): delete unused SCSS and migrate to `@include respond` * Adjust left sidebar max-width on xl screen * fix: right sidebar not sticky * refactor(breakpoint): simplify `@mixin respond` * refactor(breakpoints): improve warning message * fix(breakpoint): return only the requested breakpoint * fix: add missing padding to .article-details
21 lines
669 B
HTML
21 lines
669 B
HTML
{{ define "container-class" }}article-page with-toolbar hide-sidebar-sm{{ end }}
|
|
{{ define "main" }}
|
|
<div id="article-toolbar">
|
|
<a href="{{ .Site.BaseURL }}" class="back-home">
|
|
{{ (resources.Get "icons/back.svg").Content | safeHTML }}
|
|
<span>Back</span>
|
|
</a>
|
|
</div>
|
|
|
|
{{ partial "article/article.html" . }}
|
|
|
|
{{ partial "article/components/related-contents" . }}
|
|
|
|
{{ if or (not (isset .Params "comments")) (eq .Params.comments "true")}}
|
|
{{ partial "comments/include" . }}
|
|
{{ end }}
|
|
|
|
{{ partialCached "footer/footer" . }}
|
|
|
|
{{- partialCached "article/components/photoswipe.html" . -}}
|
|
{{ end }} |