Skip to content

Commit

Permalink
hugo: fix some deprecated settings
Browse files Browse the repository at this point in the history
  • Loading branch information
marceloexc committed Sep 12, 2024
1 parent 4662fbb commit 3edc6cd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ contentDir = "content/"
enableGitInfo = true

[markup.goldmark.renderer]
unsafe= true
unsafe= false

[blackfriday]
smartypants = false
smartypants = true

[frontmatter]
date = ["date", "publishDate", "lastmod"]
Expand Down
4 changes: 2 additions & 2 deletions themes/marceloexc-theme/layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ <h3>
<div class="list-link-text">
<h2>{{ .Title }}</h2>
{{ if .Params.description }}
<p>{{ .Params.description }} </p>
<div>{{ .Params.description | safeHTML }}</div>
{{ else }}
<p>{{ .Summary | truncate 50 }} <i></i></p>
<div>{{ .Summary | plainify | truncate 50 }} <i></i></div>
{{ end }}
</div>
</li>
Expand Down
4 changes: 2 additions & 2 deletions themes/marceloexc-theme/layouts/partials/head.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<head>
<title>My Dune, My Arrakis</title>
{{ $sass := resources.Get "sass/style.scss" }}
{{ $style := $sass | resources.ToCSS | resources.Fingerprint }}
{{ $style := $sass | css.Sass | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}">
<!-- <link rel="stylesheet" href="/css/style.css" type="text/css" media="all" /> -->
<link rel="stylesheet" type="text/css" href="/css/theme.css" />
Expand All @@ -10,4 +10,4 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta charset="UTF-8">
</head>
</head>

0 comments on commit 3edc6cd

Please sign in to comment.