mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
update
This commit is contained in:
parent
0b63124530
commit
01aa49cb24
@ -25,32 +25,32 @@
|
||||
<!-- Styles -->
|
||||
<link href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700,700i" rel="stylesheet">
|
||||
<link href="https://cdn.bootcss.com/highlight.js/9.12.0/styles/default.min.css" rel="stylesheet">
|
||||
<link href="./css/style.css" rel="stylesheet">
|
||||
<link href="/css/style.css" rel="stylesheet">
|
||||
<!-- Favicons -->
|
||||
<link rel="apple-touch-icon" href="./img/apple-touch-icon.png">
|
||||
<link rel="icon" href="./img/favicon.ico">
|
||||
<link rel="apple-touch-icon" href="/img/apple-touch-icon.png">
|
||||
<link rel="icon" href="/img/favicon.ico">
|
||||
<!-- Generator -->
|
||||
<meta name="generator" content="Hugo {{ .Hugo.Version }}">
|
||||
<!-- RSS -->
|
||||
<link rel="alternate" type="application/atom+xml" href="./index.xml" title="{{ .Site.Title }}">
|
||||
<link rel="alternate" type="application/atom+xml" href="/index.xml" title="{{ .Site.Title }}">
|
||||
</head>
|
||||
<body class="{{if eq .Kind `page` }}single{{else}}list{{end}}">
|
||||
<header class="header">
|
||||
{{ if .IsHome }}
|
||||
<h1 class="title"><a href="{{ `./` | absURL }}"><span>🍱</span>{{ .Site.Title }}</a></h1>
|
||||
{{ else }}
|
||||
<p class="title"><a href="{{ `./` | absURL }}"><span>🍱</span>{{ .Site.Title }}</a></p>
|
||||
{{ end }}
|
||||
<button class="menu-toggle" type="button"></button>
|
||||
<nav class="menu">
|
||||
<ul>
|
||||
{{ $currentPage := . }}
|
||||
{{ range .Site.Menus.main }}
|
||||
<li class="{{ if $currentPage.IsMenuCurrent `main` . }}active{{ end }}">
|
||||
<a href="{{ .URL }}">{{ .Name }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<main class="main">
|
||||
<header class="header">
|
||||
{{ if .IsHome }}
|
||||
<h1 class="title"><a href="{{ `./` | absURL }}"><span>🍱</span>{{ .Site.Title }}</a></h1>
|
||||
{{ else }}
|
||||
<p class="title"><a href="{{ `./` | absURL }}"><span>🍱</span>{{ .Site.Title }}</a></p>
|
||||
{{ end }}
|
||||
<button class="menu-toggle" type="button"></button>
|
||||
<nav class="menu">
|
||||
<ul>
|
||||
{{ $currentPage := . }}
|
||||
{{ range .Site.Menus.main }}
|
||||
<li class="{{ if $currentPage.IsMenuCurrent `main` . }}active{{ end }}">
|
||||
<a href="{{ .URL }}">{{ .Name }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<main class="main">
|
||||
|
Loading…
Reference in New Issue
Block a user