diff options
| author | nanxiaobei <nanxiaobei@gmail.com> | 2018-03-13 11:58:42 +0800 |
|---|---|---|
| committer | nanxiaobei <nanxiaobei@gmail.com> | 2018-03-13 11:58:42 +0800 |
| commit | 0b6312453009add6531f19959bb08659343147f5 (patch) | |
| tree | b2d26e19a9acd3d3d0b055fe6b18b76297410f15 | |
| parent | 0bd0814bc3a9a3c54a93050989570ac9907f2abe (diff) | |
update theme
| -rw-r--r-- | layouts/_default/single.html | 4 | ||||
| -rw-r--r-- | layouts/partials/header.html | 14 | ||||
| -rw-r--r-- | static/img/apple-touch-icon.png | bin | 1261 -> 4851 bytes | |||
| -rw-r--r-- | static/img/favicon.ico | bin | 0 -> 1596 bytes | |||
| -rw-r--r-- | static/img/favicon.png | bin | 1261 -> 0 bytes | |||
| -rw-r--r-- | theme.toml | 2 |
6 files changed, 10 insertions, 10 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 70b88b8..9cae081 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -13,11 +13,11 @@ {{ if .Params.tags }} <ul class="post-tags"> {{ range .Params.tags }} - <li><a href="{{ `/tags/` | absURL }}{{ . | urlize }}/">{{ . }}</a></li> + <li><a href="{{ `./tags/` | absURL }}{{ . | urlize }}/">{{ . }}</a></li> {{ end }} </ul> {{ end }} </footer> <!-- Comments system area --> </article> -{{ partial "footer.html" . }}
\ No newline at end of file +{{ partial "footer.html" . }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 3c96282..307de87 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -25,21 +25,21 @@ <!-- 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.png"> + <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> + <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> + <p class="title"><a href="{{ `./` | absURL }}"><span>🍱</span>{{ .Site.Title }}</a></p> {{ end }} <button class="menu-toggle" type="button"></button> <nav class="menu"> @@ -53,4 +53,4 @@ </ul> </nav> </header> -<main class="main">
\ No newline at end of file +<main class="main"> diff --git a/static/img/apple-touch-icon.png b/static/img/apple-touch-icon.png Binary files differindex 75824d5..e4f9469 100644 --- a/static/img/apple-touch-icon.png +++ b/static/img/apple-touch-icon.png diff --git a/static/img/favicon.ico b/static/img/favicon.ico Binary files differnew file mode 100644 index 0000000..ed3e0a4 --- /dev/null +++ b/static/img/favicon.ico diff --git a/static/img/favicon.png b/static/img/favicon.png Binary files differdeleted file mode 100644 index 75824d5..0000000 --- a/static/img/favicon.png +++ /dev/null @@ -1,7 +1,7 @@ # theme.toml template for a Hugo theme # See https://github.com/gohugoio/hugoThemes#themetoml for an example -name = "Hugo Paper" +name = "Paper" license = "MIT" licenselink = "https://github.com/nanxiaobei/hugo-paper/blob/master/LICENSE" description = "A simple & clean hugo theme" |
