mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-06-13 01:57:28 -05:00
Clean up CSS
- Add vim folds to make organized sections - Rename a lot of classes from post- to page- - Generalize series CSS classes better - Clean up navbar div structure - Remove langpicker and most of multilingual support - many other minor tweaks
This commit is contained in:
@ -8,12 +8,12 @@
|
||||
{{ . }}
|
||||
{{ end }}
|
||||
|
||||
<div class="series-taxonomy-list">
|
||||
{{ with .Pages }}
|
||||
<div class="page-list series">
|
||||
{{ with .Paginator.Pages }}
|
||||
{{ range . }}
|
||||
<article class="series-taxonomy">
|
||||
<div class="page series">
|
||||
{{ .Render "summary" }}
|
||||
</article>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
<div>
|
||||
|
@ -1,18 +1,18 @@
|
||||
<h2 class="post-title">
|
||||
<h2 class="page-title">
|
||||
{{ with .Parent.Params.icon }}{{ partial "icon.html" . }}{{ end }}
|
||||
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
||||
<a class="heading-link" href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
||||
{{ if .Draft }}{{ partial "icon.html" "write" }}{{ end }}
|
||||
</h2>
|
||||
|
||||
{{ partial "post-metadata/series.html" . }}
|
||||
{{ partial "page-metadata/series.html" . }}
|
||||
|
||||
<div class="post-description">
|
||||
<div class="page-description">
|
||||
{{ partial "description-or-summary.html" . }}
|
||||
</div>
|
||||
|
||||
<div class="series-page-list">
|
||||
<div class="page-list series-inner">
|
||||
{{ range .Data.Pages.Reverse }}
|
||||
<article class="post">
|
||||
<article class="page">
|
||||
{{ .Render "summary" }}
|
||||
</article>
|
||||
{{ end }}
|
||||
|
@ -5,7 +5,7 @@
|
||||
{{ partial "rss-link.html" . }}
|
||||
</h1>
|
||||
|
||||
{{ partial "post-metadata/series.html" . }}
|
||||
{{ partial "page-metadata/series.html" . }}
|
||||
|
||||
{{ with .Content }}
|
||||
{{ . }}
|
||||
|
Reference in New Issue
Block a user