Skip to content

Commit

Permalink
fix whitespace in some partials
Browse files Browse the repository at this point in the history
  • Loading branch information
marioortizmanero committed Aug 12, 2024
1 parent 0b1487d commit dec4b18
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions layouts/partials/comments.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div id="comments">
{{ with .Params.GHissueID }}
{{- with .Params.GHissueID }}
{{ partial "comments_github.html" $ }}
{{ else }}
{{- else }}
{{ template "_internal/disqus.html" . }}
{{ end }}
{{- end }}
</div>
12 changes: 6 additions & 6 deletions layouts/partials/home_info.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<article class="first-entry home-info">
{{/* CUSTOM HEADER: support both light and dark theme logo */}}
<header class="entry-header">
{{ with .Title }}
{{- with .Title }}
<h1>{{ . | markdownify }}</h1>
{{ end }}
{{- end }}
<div class="indexlogo">
{{ with .LogoLight }}
{{- with .LogoLight }}
<img loading="lazy" alt="NullDeref" class="ligththeme" src="{{ . }}"/>
{{ end }}
{{ with .LogoDark }}
{{- end }}
{{- with .LogoDark }}
<img loading="lazy" alt="NullDeref" class="darktheme" src="{{ . }}"/>
{{ end }}
{{- end }}
</div>
</header>
<div class="entry-content">
Expand Down

0 comments on commit dec4b18

Please sign in to comment.