Skip to content

Commit

Permalink
Uncommented code. Made /blog and individual posts work again.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmytrotsko committed Sep 9, 2024
1 parent 3b55490 commit 0073972
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions themes/delphi/layouts/blog/list.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- {{ define "breadcrumb" }}
{{ define "breadcrumb" }}
{{ partial "blog/breadcrumb.html" . }}
{{ end }} -->
{{ end }}
{{ define "main" }}
{{ $images := ($.GetPage "/blog/images").Resources.ByType "image" }}
<div class="uk-container">
Expand Down
4 changes: 2 additions & 2 deletions themes/delphi/layouts/blog/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
{{ $blog_style := resources.Get "css/blog_extra.scss" | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $blog_style.RelPermalink }}" />
{{ end }}
<!-- {{ define "breadcrumb" }}
{{ define "breadcrumb" }}
{{ partial "blog/breadcrumb.html" . }}
{{ end }} -->
{{ end }}
{{ define "scripts" }}
{{ $script_blog := resources.Get "js/blog/index.js" | js.Build | minify | fingerprint -}}
<script src="{{ $script_blog.RelPermalink }}"></script>
Expand Down

0 comments on commit 0073972

Please sign in to comment.