Merge branch 'base' into develop
This commit is contained in:
commit
6b2f70a989
1
.github/ISSUE_TEMPLATE/config.yml
vendored
1
.github/ISSUE_TEMPLATE/config.yml
vendored
@ -1,3 +1,4 @@
|
|||||||
|
blank_issues_enabled: false
|
||||||
contact_links:
|
contact_links:
|
||||||
- name: PaperMod Discussions
|
- name: PaperMod Discussions
|
||||||
url: https://github.com/adityatelange/hugo-PaperMod/discussions
|
url: https://github.com/adityatelange/hugo-PaperMod/discussions
|
||||||
|
7
.github/ISSUE_TEMPLATE/new-blank-issue.md
vendored
Normal file
7
.github/ISSUE_TEMPLATE/new-blank-issue.md
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
name: New Blank Issue
|
||||||
|
about: Anything other than bug report
|
||||||
|
title: ""
|
||||||
|
labels: ""
|
||||||
|
assignees: ""
|
||||||
|
---
|
@ -40,6 +40,9 @@
|
|||||||
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
||||||
<guid>{{ .Permalink }}</guid>
|
<guid>{{ .Permalink }}</guid>
|
||||||
<description>{{ with .Description | html }}{{ . }}{{ else }}{{ .Summary | html }}{{ end -}}</description>
|
<description>{{ with .Description | html }}{{ . }}{{ else }}{{ .Summary | html }}{{ end -}}</description>
|
||||||
|
{{- if .Site.Params.ShowFullTextinRSS }}
|
||||||
|
<content>{{ .Content | html }}</content>
|
||||||
|
{{- end }}
|
||||||
</item>
|
</item>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -25,14 +25,10 @@
|
|||||||
{{- partial "extend_footer.html" . }}
|
{{- partial "extend_footer.html" . }}
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
window.onload = function () {
|
let menu = document.getElementById('menu')
|
||||||
if (localStorage.getItem("menu-scroll-position")) {
|
menu.scrollLeft = localStorage.getItem("menu-scroll-position");
|
||||||
document.getElementById('menu').scrollLeft = localStorage.getItem("menu-scroll-position");
|
menu.onscroll = function () {
|
||||||
}
|
localStorage.setItem("menu-scroll-position", menu.scrollLeft);
|
||||||
}
|
|
||||||
|
|
||||||
function menu_on_scroll() {
|
|
||||||
localStorage.setItem("menu-scroll-position", document.getElementById('menu').scrollLeft);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
||||||
|
@ -139,7 +139,7 @@
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{{- $currentPage := . }}
|
{{- $currentPage := . }}
|
||||||
<ul id="menu" onscroll="menu_on_scroll()">
|
<ul id="menu">
|
||||||
{{- range .Site.Menus.main }}
|
{{- range .Site.Menus.main }}
|
||||||
{{- $menu_item_url := (cond (strings.HasSuffix .URL "/") .URL (printf "%s/" .URL) ) | absLangURL }}
|
{{- $menu_item_url := (cond (strings.HasSuffix .URL "/") .URL (printf "%s/" .URL) ) | absLangURL }}
|
||||||
{{- $page_url:= $currentPage.Permalink | absLangURL }}
|
{{- $page_url:= $currentPage.Permalink | absLangURL }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user