diff options
| author | Francesco Tomaselli <tomaselli.fr@gmail.com> | 2024-11-23 15:02:31 +0100 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-23 15:02:31 +0100 | 
| commit | 497ab57d9513e7394ade085fe42f78dd3a36d4eb (patch) | |
| tree | 12f6de4aa68d09826c9cb5af533d6660cf90162f | |
| parent | 9d892aa386eebccb380d17924b8393f25b0d2e3f (diff) | |
| parent | 8f57acc3040b864b0ed3a9890529307b5ca310f2 (diff) | |
Merge pull request #52 from jpvg10/fix-footer-math
Fix: overwriting footer.html breaks math
| -rw-r--r-- | layouts/_default/baseof.html | 6 | ||||
| -rw-r--r-- | layouts/partials/footer.html | 4 | 
2 files changed, 5 insertions, 5 deletions
| diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 08a2d25..462b2e8 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -27,7 +27,11 @@      <footer>        {{ partial "footer.html" . }}      </footer> -     + +    {{ if .Param "math" }} +    {{ partialCached "math.html" . }} +    {{ end }} +    </body>    <script> diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index e8f0096..579e50a 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -12,7 +12,3 @@      <p>{{ . | markdownify }}</p>      {{ end }}  {{ end }} - -{{ if .Param "math" }} -{{ partialCached "math.html" . }} -{{ end }}
\ No newline at end of file | 
