mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-07-20 01:42:36 +02:00
blog updated by fokred repo
This commit is contained in:
@@ -48,6 +48,7 @@ Read this post For More Details => [hugo-PaperMod - Installation](https://aditya
|
|||||||
- Light/Dark theme (automatic theme switch a/c to browser theme and theme-switch button).
|
- Light/Dark theme (automatic theme switch a/c to browser theme and theme-switch button).
|
||||||
- SEO Friendly.
|
- SEO Friendly.
|
||||||
- Muliple Author support.
|
- Muliple Author support.
|
||||||
|
- Search Page
|
||||||
- No webpack, nodejs and other depedencies required to edit the theme :)
|
- No webpack, nodejs and other depedencies required to edit the theme :)
|
||||||
|
|
||||||
Read this post For More Details => [hugo-PaperMod - Features](https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-features/)
|
Read this post For More Details => [hugo-PaperMod - Features](https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-features/)
|
||||||
|
@@ -49,6 +49,8 @@ document.getElementById("searchInput").onkeyup = function (e) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
document.getElementById("searchResults").innerHTML = resultSet;
|
document.getElementById("searchResults").innerHTML = resultSet;
|
||||||
|
} else {
|
||||||
|
document.getElementById("searchResults").innerHTML = '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -9,14 +9,12 @@
|
|||||||
<span>·</span>
|
<span>·</span>
|
||||||
<span>Theme <a href="https://git.io/hugopapermod" rel="noopener" target="_blank">PaperMod</a></span>
|
<span>Theme <a href="https://git.io/hugopapermod" rel="noopener" target="_blank">PaperMod</a></span>
|
||||||
</footer>
|
</footer>
|
||||||
<a aria-label="go to top" title="Go to Top" accesskey="g">
|
<button class="top-link" id="top-link" type="button" aria-label="go to top" title="Go to Top" accesskey="g">
|
||||||
<button class="top-link" id="top-link" type="button">
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6">
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6">
|
<path d="M12 6H0l6-6z" /></svg>
|
||||||
<path d="M12 6H0l6-6z" /></svg>
|
</button>
|
||||||
</button>
|
|
||||||
</a>
|
|
||||||
{{- partial "extend_footer.html" . -}}
|
{{- partial "extend_footer.html" . -}}
|
||||||
{{ if in site.Params.mainSections .Type }}
|
{{ if (and (in site.Params.mainSections .Type) (ne .Layout `archives`) (ne .Layout `search`)) }}
|
||||||
{{- if not .Site.Params.assets.disableFingerprinting }}
|
{{- if not .Site.Params.assets.disableFingerprinting }}
|
||||||
{{- $highlight := slice (resources.Get "js/highlight.min.js") | resources.Concat "assets/js/highlight.js" | minify | fingerprint }}
|
{{- $highlight := slice (resources.Get "js/highlight.min.js") | resources.Concat "assets/js/highlight.js" | minify | fingerprint }}
|
||||||
<script defer src="{{ $highlight.Permalink }}" integrity="{{ $highlight.Data.Integrity }}"
|
<script defer src="{{ $highlight.Permalink }}" integrity="{{ $highlight.Data.Integrity }}"
|
||||||
|
@@ -21,12 +21,12 @@
|
|||||||
<meta name="google-site-verification" content="{{ .Site.Params.analytics.google.SiteVerificationTag }}" />
|
<meta name="google-site-verification" content="{{ .Site.Params.analytics.google.SiteVerificationTag }}" />
|
||||||
{{- end}}
|
{{- end}}
|
||||||
<!-- Styles -->
|
<!-- Styles -->
|
||||||
|
{{- $stylesheet := (resources.Match "css/*.css") | resources.Concat "assets/css/stylesheet.css" | minify -}}
|
||||||
{{- if not .Site.Params.assets.disableFingerprinting }}
|
{{- if not .Site.Params.assets.disableFingerprinting }}
|
||||||
{{- $stylesheet := (resources.Match "css/*.css") | resources.Concat "assets/css/stylesheet.css" | minify | fingerprint -}}
|
{{- $stylesheet := $stylesheet | fingerprint -}}
|
||||||
<link href="{{ $stylesheet.Permalink }}" integrity="{{ $stylesheet.Data.Integrity }}" rel="preload stylesheet"
|
<link href="{{ $stylesheet.Permalink }}" integrity="{{ $stylesheet.Data.Integrity }}" rel="preload stylesheet"
|
||||||
as="style">
|
as="style">
|
||||||
{{- else}}
|
{{- else}}
|
||||||
{{- $stylesheet := (resources.Match "css/*.css") | resources.Concat "assets/css/stylesheet.css" | minify -}}
|
|
||||||
<link href="{{ $stylesheet.Permalink }}" rel="preload stylesheet" as="style">
|
<link href="{{ $stylesheet.Permalink }}" rel="preload stylesheet" as="style">
|
||||||
{{- end}}
|
{{- end}}
|
||||||
<!-- Search -->
|
<!-- Search -->
|
||||||
|
Reference in New Issue
Block a user