Skip to content

Commit

Permalink
Remove rss causing build fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo Almeida committed Oct 25, 2022
1 parent 2ea62c2 commit ede8d47
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
3 changes: 0 additions & 3 deletions themes/hugo-strata-theme/layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@
{{ with .Site.Params.contact.email }}
<li><a href="{{ $.Site.BaseURL }}#contact-form" class="icon fa-envelope-o"><span class="label">Email</span></a></li>
{{ end }}
{{ if not .Site.Params.rss.hide }}
<li><a href="{{ if $.RSSLink }}{{ $.RSSLink }}{{ else }}{{ $.Site.RSSLink }}{{ end }}" class="icon fa-rss" type="application/rss+xml"><span class="label">RSS</span></a></li>
{{ end }}
</ul>

<ul class="copyright">
Expand Down
6 changes: 1 addition & 5 deletions themes/hugo-strata-theme/layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,13 @@
{{ end }}
{{ end }}

{{ .Hugo.Generator }}
{{ hugo.Generator }}

{{ "<!--[if lte IE 8]>" | safeHTML }}<script src='{{ .Site.BaseURL }}js/ie/html5shiv.js'></script>{{ "<![endif]-->" | safeHTML}}
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/main.css" />
{{ "<!--[if lte IE 8]>" | safeHTML }}<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/ie8.css">{{ "<![endif]-->" | safeHTML}}

{{ with .RSSLink }}
<link href="{{ . }}" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" />
<link href="{{ . }}" rel="feed" type="application/rss+xml" title="{{ $.Site.Title }}" />
{{ end }}
{{ range .Site.Params.custom_css }}
<link rel="stylesheet" href="{{ $.Site.BaseURL }}{{ . }}">
{{ end }}
Expand Down

0 comments on commit ede8d47

Please sign in to comment.