mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-09-04 02:17:34 -05:00
WIP
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<nav class="body-module body-module--wide breadcrumb" aria-label="{{ i18n "aria_breadcrumbnav" }}">
|
||||
<nav class="body-module--center breadcrumb" aria-label="{{ i18n "aria_breadcrumbnav" }}">
|
||||
<ul>
|
||||
{{ template "breadcrumbnav" (dict "p1" . "p2" .) }}
|
||||
</ul>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<header class="body-module body-module--marginless top">
|
||||
<header class="top">
|
||||
<div class="brand">
|
||||
<a href="{{ .Site.Home.Permalink | absLangURL }}">
|
||||
{{ .Site.Title | markdownify }}
|
||||
|
@@ -25,7 +25,7 @@
|
||||
{{ end }}
|
||||
|
||||
{{ if or .Site.Copyright .Site.Params.footer }}
|
||||
<footer class="body-module body-module--wide">
|
||||
<footer class="body-module--center">
|
||||
{{ with .Site.Copyright }}
|
||||
{{ . | safeHTML }}
|
||||
{{ end }}
|
||||
|
@@ -1,15 +1,15 @@
|
||||
{{ define "main" }}
|
||||
{{ with .Content }}
|
||||
<article class="body-module body-module--wide">
|
||||
<article class="body-module--center">
|
||||
{{ . }}
|
||||
</article>
|
||||
<hr class="body-module body-module--wide">
|
||||
<hr class="body-module--center">
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ define "post-body" }}
|
||||
{{ if .Site.Params.homepageLatestPosts }}
|
||||
<div class="body-module body-module--wide">
|
||||
<div class="body-module--center">
|
||||
<h1>
|
||||
{{ i18n "latest_posts" }}
|
||||
{{ partial "rss-link.html" . }}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{{ define "main" }}
|
||||
<article class="body-module body-module--wide">
|
||||
<article class="body-module--center">
|
||||
<div class="page-title">
|
||||
<h1>
|
||||
{{ .Title | markdownify }}
|
||||
@@ -77,7 +77,7 @@
|
||||
{{ define "post-body" }}
|
||||
{{ $related := .Site.RegularPages.Related . | first 10 }}
|
||||
{{ with $related }}
|
||||
<div class="related-posts body-module body-module--full-width">
|
||||
<div class="related-posts body-module--full-width">
|
||||
<hr>
|
||||
<h1>{{ i18n "related_posts" }}</h1>
|
||||
{{ partial "page-list.html" . }}
|
||||
|
Reference in New Issue
Block a user