mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-17 00:24:24 -04:00
Add list dynamic background
This commit is contained in:
parent
1b6c1399bb
commit
ee1f7e5aee
3 changed files with 28 additions and 1 deletions
|
@ -7,6 +7,6 @@
|
|||
<span>Theme️ <a href="https://github.com/nanxiaobei/hugo-paper" rel="noopener" target="_blank">Paper</a></span>
|
||||
</footer>
|
||||
<script src="{{ "highlight.min.js" | absURL }}"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
||||
<script src="{{ "main.js" | absURL }}"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -38,6 +38,9 @@
|
|||
{{ end }}
|
||||
</head>
|
||||
<body class="{{if eq .Kind `page` }}single{{else}}list{{ if .IsHome }} home{{ end }}{{end}}">
|
||||
{{if ne .Kind `page` }}
|
||||
<div class="list-bg"></div>
|
||||
{{end}}
|
||||
<header class="header">
|
||||
<nav class="nav">
|
||||
{{ if .IsHome }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue