add a shortcode for placing images. page section bloc, others details

This commit is contained in:
2023-11-13 15:02:34 +01:00
parent 52bedce0ce
commit fc2872e03e
9 changed files with 173 additions and 35 deletions

View File

@@ -3,14 +3,14 @@
{{ $base := site.BaseURL }}
<ul class="{{ $class }} inline-flex space-x-1 capitalize">
<ul class="{{ $class }} inline-flex space-x-1">
<li>
<a
class="text-primary dark:text-darkmode-primary"
href="{{ $base | relLangURL }}">
{{ i18n "home" | default "Home" }}
</a>
<span class="inlin-block mr-1">/</span>
<span class="inlin-block mr-1"><i class="fa fa-arrow-right"></i></span>
</li>
{{ range $i, $e:= $context.Ancestors.Reverse }}
{{ if and (not .IsHome) (ne .Title "Pages") }}
@@ -20,7 +20,7 @@
href="{{ .RelPermalink }}">
{{ .Title }}
</a>
<span class="inlin-block mr-1">/</span>
<span class="inlin-block mr-1"><i class="fa fa-arrow-right"></i></span>
</li>
{{ end }}
{{ end }}