Skip to content

Commit

Permalink
rewrite template with new hugo cmd instead of deprecated cmd (#197)
Browse files Browse the repository at this point in the history
* ♻️ rewrite template with new hugo cmd instead of  deprecated hugo cmd

Signed-off-by: vankichi <[email protected]>

* 🤖 auto update stage ⬆️

Signed-off-by: vdaas-ci <[email protected]>

---------

Signed-off-by: vankichi <[email protected]>
Signed-off-by: vdaas-ci <[email protected]>
Co-authored-by: vdaas-ci <[email protected]>
  • Loading branch information
vankichi and vdaas-ci authored Sep 13, 2024
1 parent 091d166 commit 4e32b05
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion preview
Submodule preview updated 398 files
2 changes: 1 addition & 1 deletion themes/vald/layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</ul>
<ul class="footer__sns">
<li class="footer__item">
<a class="footer__item footer__icon" href="https://twitter.com/vdaas_vald" target="_blank">
<a class="footer__item footer__icon" href="https://x.com/vdaas_vald" target="_blank">
<picture>
<source srcset="{{ .Site.BaseURL }}/images/logo_x_white.svg" media="(prefers-color-scheme: dark)" class="icon__image" width="24" height="24">
<img src="{{ .Site.BaseURL }}/images/logo_x_black.svg" alt="x" class="icon__image">
Expand Down
4 changes: 2 additions & 2 deletions themes/vald/layouts/partials/googleanalytics.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ if not .Site.IsServer }}
{{ with .Site.GoogleAnalytics }}
{{ if not hugo.IsServer }}
{{ with .Site.Config.Services.GoogleAnalytics.ID }}
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{ . }}"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion themes/vald/layouts/partials/style.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ if not .Site.IsServer }}
{{ if not hugo.IsServer }}
<link rel="stylesheet" type="text/css" href="/css/style.min.css">
<link rel="stylesheet" type="text/css" href="/css/header.min.css">
<link rel="stylesheet" type="text/css" href="/css/footer.min.css">
Expand Down

0 comments on commit 4e32b05

Please sign in to comment.