mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-24 14:00:42 +00:00
fix: broken mermaid rendering (#141)
This commit is contained in:
parent
f176a0cf4f
commit
8ba04bfb36
@ -64,15 +64,16 @@
|
||||
class="gblog-button__link"
|
||||
href="{{ .page.RelPermalink }}"
|
||||
title="All posts tagged with '{{ .name }}'"
|
||||
>{{ .name }}</a
|
||||
>
|
||||
{{ .name }}
|
||||
</a>
|
||||
</span>
|
||||
{{ end }}
|
||||
|
||||
{{ define "post-author" }}
|
||||
<span class="gblog-post__tag gblog-button">
|
||||
<a class="gblog-button__link" href="{{ .page.RelPermalink }}" title="All posts of this author"
|
||||
>{{ .name }}</a
|
||||
>
|
||||
<a class="gblog-button__link" href="{{ .page.RelPermalink }}" title="All posts of this author">
|
||||
{{ .name }}
|
||||
</a>
|
||||
</span>
|
||||
{{ end }}
|
||||
|
@ -12,9 +12,9 @@
|
||||
<div class="gblog-paging__state">Page {{ $pag.PageNumber }} of {{ $pag.TotalPages }}</div>
|
||||
<div class="gblog-paging__item gblog-paging__item--next">
|
||||
{{ if $pag.HasNext }}
|
||||
<a class="flex-inline align-center fake-link no-wrap" href="{{ $pag.Next.URL }}"
|
||||
>NEXT<i class="gblog-icon">gblog_keyboard_arrow_right</i></a
|
||||
>
|
||||
<a class="flex-inline align-center fake-link no-wrap" href="{{ $pag.Next.URL }}">
|
||||
NEXT<i class="gblog-icon">gblog_keyboard_arrow_right</i>
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -52,8 +52,9 @@
|
||||
<a
|
||||
class="gblog-nav__entry {{ if eq $currentPage .RelPermalink }}is-active{{ end }}"
|
||||
href="{{ .RelPermalink }}"
|
||||
>{{ .Title }}</a
|
||||
>
|
||||
{{ .Title }}
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
@ -14,7 +14,11 @@
|
||||
{{ end }}
|
||||
|
||||
|
||||
<span class="gblog-button gblog-button--{{ $size }}{{ with .Get "class" }}{{ . }}{{ end }}">
|
||||
<span
|
||||
class="gblog-button gblog-button--{{ $size }}{{ with .Get "class" }}
|
||||
{{ printf " %s" . }}
|
||||
{{ end }}"
|
||||
>
|
||||
<a {{ with $ref }}href="{{ . }}"{{ end }} class="gblog-button__link">
|
||||
{{ $.Inner }}
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user