* Fix static/images symlink errors

* Fix RSSLink deprecation
* Fix https://github.com/gohugoio/hugoThemes/issues/682
This commit is contained in:
Tony Blyler 2019-08-25 21:32:33 -04:00
parent 82bbfc0251
commit 5ef28a4864
9 changed files with 16 additions and 14 deletions

View file

@ -6,7 +6,7 @@
{{ range .Pages }}
<h3>
<a href="{{ .RelPermalink }}">
{{ .Title }} {{ if .GetParam "draft" }}DRAFT{{ end }}
{{ .Title }} {{ if .Param "draft" }}DRAFT{{ end }}
</a>
</h3>
<div class="post-meta">

View file

@ -1,7 +1,9 @@
{{ partial "header.html" . }}
{{ range first 10 .Data.Pages }}
{{ if eq .Type "post" }}
{{ .Render "summary" }}
{{ end }}
{{ $pages := .Pages }}
{{ if .IsHome }}
{{ $pages = .Site.RegularPages }}
{{ end }}
{{ range first 10 $pages }}
{{ .Render "summary" }}
{{ end }}
{{ partial "footer.html" . }}

View file

@ -6,9 +6,9 @@
<title>{{ .Title }} &middot; {{ .Site.Title }}</title>
<link rel="canonical" href="{{ .Permalink }}">
<link rel="stylesheet" type="text/css" href="/css/main.css" />
{{ if .RSSLink }}
<link href="{{ .RSSLink }}" rel="alternative" type="application/rss+xml" title="{{ .Title }}" />
{{ end }}
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
{{ partial "head.html" . }}
</head>
<body>

View file

@ -1 +0,0 @@
../../modules/evil-icons/assets/icons/ei-envelope.svg

Before

Width:  |  Height:  |  Size: 53 B

After

Width:  |  Height:  |  Size: 525 B

1
static/images/email.svg Normal file
View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path opacity=".9" d="M31.796 24.244l9.97 9.97-1.415 1.414-9.97-9.97z"/><path opacity=".9" d="M18.278 24.287l1.414 1.414-9.9 9.9-1.414-1.41z"/><path d="M25 29.9c-1.5 0-3.1-.6-4.2-1.8L8.3 15.7l1.4-1.4 12.5 12.5c1.6 1.6 4.1 1.6 5.7 0l12.5-12.5 1.4 1.4-12.6 12.5c-1.1 1.1-2.7 1.7-4.2 1.7z"/><path d="M39 38H11c-1.7 0-3-1.3-3-3V15c0-1.7 1.3-3 3-3h28c1.7 0 3 1.3 3 3v20c0 1.7-1.3 3-3 3zM11 14c-.6 0-1 .4-1 1v20c0 .6.4 1 1 1h28c.6 0 1-.4 1-1V15c0-.6-.4-1-1-1H11z"/></svg>

Before

Width:  |  Height:  |  Size: 53 B

After

Width:  |  Height:  |  Size: 525 B

View file

@ -1 +0,0 @@
../../modules/evil-icons/assets/icons/ei-sc-facebook.svg

Before

Width:  |  Height:  |  Size: 56 B

After

Width:  |  Height:  |  Size: 157 B

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path d="M26 20v-3c0-1.3.3-2 2.4-2H31v-5h-4c-5 0-7 3.3-7 7v3h-4v5h4v15h6V25h4.4l.6-5h-5z"/></svg>

Before

Width:  |  Height:  |  Size: 56 B

After

Width:  |  Height:  |  Size: 157 B

View file

@ -1 +0,0 @@
../../modules/evil-icons/assets/icons/ei-sc-github.svg

Before

Width:  |  Height:  |  Size: 54 B

After

Width:  |  Height:  |  Size: 595 B

1
static/images/github.svg Normal file
View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path fill-rule="evenodd" clip-rule="evenodd" fill="#181616" d="M25 10c-8.3 0-15 6.7-15 15 0 6.6 4.3 12.2 10.3 14.2.8.1 1-.3 1-.7v-2.6c-4.2.9-5.1-2-5.1-2-.7-1.7-1.7-2.2-1.7-2.2-1.4-.9.1-.9.1-.9 1.5.1 2.3 1.5 2.3 1.5 1.3 2.3 3.5 1.6 4.4 1.2.1-1 .5-1.6 1-2-3.3-.4-6.8-1.7-6.8-7.4 0-1.6.6-3 1.5-4-.2-.4-.7-1.9.1-4 0 0 1.3-.4 4.1 1.5 1.2-.3 2.5-.5 3.8-.5 1.3 0 2.6.2 3.8.5 2.9-1.9 4.1-1.5 4.1-1.5.8 2.1.3 3.6.1 4 1 1 1.5 2.4 1.5 4 0 5.8-3.5 7-6.8 7.4.5.5 1 1.4 1 2.8v4.1c0 .4.3.9 1 .7 6-2 10.2-7.6 10.2-14.2C40 16.7 33.3 10 25 10z"/></svg>

Before

Width:  |  Height:  |  Size: 54 B

After

Width:  |  Height:  |  Size: 595 B

View file

@ -1 +0,0 @@
../../modules/evil-icons/assets/icons/ei-sc-linkedin.svg

Before

Width:  |  Height:  |  Size: 56 B

After

Width:  |  Height:  |  Size: 427 B

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path fill="#231F20" d="M36.1 12H13.9c-1.1 0-1.9.8-1.9 1.9v22.2c0 1 .9 1.9 1.9 1.9h22.2c1.1 0 1.9-.8 1.9-1.9V13.9c0-1.1-.9-1.9-1.9-1.9zM20 34h-4V22h4v12zm-2-13.6c-1.3 0-2.4-1.1-2.4-2.4 0-1.3 1.1-2.4 2.4-2.4 1.3 0 2.4 1.1 2.4 2.4 0 1.3-1.1 2.4-2.4 2.4zM34 34h-4v-6c0-1.6-.4-3.2-2-3.2s-2 1.6-2 3.2v6h-4V22h4v1.4h.2c.5-1 1.8-1.8 3.3-1.8 3.7 0 4.5 2.4 4.5 5.4v7z"/></svg>

Before

Width:  |  Height:  |  Size: 56 B

After

Width:  |  Height:  |  Size: 427 B

View file

@ -1 +0,0 @@
../../modules/evil-icons/assets/icons/ei-sc-twitter.svg

Before

Width:  |  Height:  |  Size: 55 B

After

Width:  |  Height:  |  Size: 481 B

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path d="M39.2 16.8c-1.1.5-2.2.8-3.5 1 1.2-.8 2.2-1.9 2.7-3.3-1.2.7-2.5 1.2-3.8 1.5-1.1-1.2-2.7-1.9-4.4-1.9-3.3 0-6.1 2.7-6.1 6.1 0 .5.1.9.2 1.4-5-.2-9.5-2.7-12.5-6.3-.5.7-.8 1.7-.8 2.8 0 2.1 1.1 4 2.7 5-1 0-1.9-.3-2.7-.8v.1c0 2.9 2.1 5.4 4.9 5.9-.5.1-1 .2-1.6.2-.4 0-.8 0-1.1-.1.8 2.4 3 4.2 5.7 4.2-2.1 1.6-4.7 2.6-7.5 2.6-.5 0-1 0-1.4-.1 2.4 1.9 5.6 2.9 9 2.9 11.1 0 17.2-9.2 17.2-17.2V20c1.2-.9 2.2-1.9 3-3.2z"/></svg>

Before

Width:  |  Height:  |  Size: 55 B

After

Width:  |  Height:  |  Size: 481 B

View file

@ -1 +0,0 @@
../../modules/evil-icons/assets/icons/ei-sc-youtube.svg

Before

Width:  |  Height:  |  Size: 55 B

After

Width:  |  Height:  |  Size: 406 B

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path d="M39.7 18.6s-.3-2.1-1.2-3c-1.1-1.2-2.4-1.2-3-1.3C31.3 14 25 14 25 14s-6.3 0-10.5.3c-.6.1-1.9.1-3 1.3-.9.9-1.2 3-1.2 3S10 21 10 23.4v2.2c0 2.4.3 4.9.3 4.9s.3 2.1 1.2 3c1.1 1.2 2.6 1.2 3.3 1.3 2.4.1 10.2.2 10.2.2s6.3 0 10.5-.3c.6-.1 1.9-.1 3-1.3.9-.9 1.2-3 1.2-3s.3-2.4.3-4.8v-2.2c0-2.4-.3-4.8-.3-4.8zm-17.8 9.8V20l8.1 4.2-8.1 4.2z"/></svg>

Before

Width:  |  Height:  |  Size: 55 B

After

Width:  |  Height:  |  Size: 406 B