update theme

This commit is contained in:
nanxiaobei 2018-03-13 11:58:42 +08:00
parent 0bd0814bc3
commit 0b63124530
6 changed files with 10 additions and 10 deletions

View File

@ -13,7 +13,7 @@
{{ if .Params.tags }} {{ if .Params.tags }}
<ul class="post-tags"> <ul class="post-tags">
{{ range .Params.tags }} {{ range .Params.tags }}
<li><a href="{{ `/tags/` | absURL }}{{ . | urlize }}/">{{ . }}</a></li> <li><a href="{{ `./tags/` | absURL }}{{ . | urlize }}/">{{ . }}</a></li>
{{ end }} {{ end }}
</ul> </ul>
{{ end }} {{ end }}

View File

@ -25,21 +25,21 @@
<!-- Styles --> <!-- Styles -->
<link href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700,700i" rel="stylesheet"> <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="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 --> <!-- Favicons -->
<link rel="apple-touch-icon" href="/img/apple-touch-icon.png"> <link rel="apple-touch-icon" href="./img/apple-touch-icon.png">
<link rel="icon" href="/img/favicon.png"> <link rel="icon" href="./img/favicon.ico">
<!-- Generator --> <!-- Generator -->
<meta name="generator" content="Hugo {{ .Hugo.Version }}"> <meta name="generator" content="Hugo {{ .Hugo.Version }}">
<!-- RSS --> <!-- 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> </head>
<body class="{{if eq .Kind `page` }}single{{else}}list{{end}}"> <body class="{{if eq .Kind `page` }}single{{else}}list{{end}}">
<header class="header"> <header class="header">
{{ if .IsHome }} {{ 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 }} {{ 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 }} {{ end }}
<button class="menu-toggle" type="button"></button> <button class="menu-toggle" type="button"></button>
<nav class="menu"> <nav class="menu">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

BIN
static/img/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -1,7 +1,7 @@
# theme.toml template for a Hugo theme # theme.toml template for a Hugo theme
# See https://github.com/gohugoio/hugoThemes#themetoml for an example # See https://github.com/gohugoio/hugoThemes#themetoml for an example
name = "Hugo Paper" name = "Paper"
license = "MIT" license = "MIT"
licenselink = "https://github.com/nanxiaobei/hugo-paper/blob/master/LICENSE" licenselink = "https://github.com/nanxiaobei/hugo-paper/blob/master/LICENSE"
description = "A simple & clean hugo theme" description = "A simple & clean hugo theme"