Browse Source

demo: bump Hugo v for Netlify

George Cushen 5 năm trước cách đây
mục cha
commit
9421994179
2 tập tin đã thay đổi với 5 bổ sung4 xóa
  1. 4 3
      layouts/partials/site_footer.html
  2. 1 1
      netlify.toml

+ 4 - 3
layouts/partials/site_footer.html

@@ -19,9 +19,10 @@
   {{ partial "site_footer_license" . }}
 
   <p class="powered-by">
-    Powered by the
-    <a href="https://sourcethemes.com/academic/" target="_blank" rel="noopener">Academic theme</a> for
-    <a href="https://gohugo.io" target="_blank" rel="noopener">Hugo</a>.
+    {{ if not site.Params.i_am_a_sponsor }}
+    Published with
+    <a href="https://sourcethemes.com/academic/" target="_blank" rel="noopener">Academic Website Builder</a>
+    {{ end }}
 
     {{ if not (in (slice "book" "docs" "updates") .Type) }}
     <span class="float-right" aria-hidden="true">

+ 1 - 1
netlify.toml

@@ -5,7 +5,7 @@
 
 [build.environment]
   HUGO_THEME = "repo"
-  HUGO_VERSION = "0.72.0"
+  HUGO_VERSION = "0.74.3"
   HUGO_ENABLEGITINFO = "true"
 
 [context.production.environment]