mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Bud Parr
15.03.2017 ea887e9313f8e76c1c42a9048f2e4a1325cf1ecf
fix issues with featured image
3 files modified
7 ■■■■ changed files
layouts/partials/page-header.html 2 ●●● patch | view | raw | blame | history
layouts/partials/site-header.html 2 ●●● patch | view | raw | blame | history
readme.md 3 ●●●●● patch | view | raw | blame | history
layouts/partials/page-header.html
@@ -1,5 +1,5 @@
{{ if .Params.featured_image }}
  <header class="cover bg-center"{{ with .Params.featured_image }} style="background-image: url('{{ . }}');"{{ end }}>
  <header class="cover bg-center" style="background-image: url('{{ .Params.featured_image  | absURL }}');">
    <div class="pb3-m pb6-l bg-black-60">
      {{ partial "site-navigation.html" . }}
      <div class="tc-l pv6 ph3 ph4-ns">
layouts/partials/site-header.html
@@ -1,5 +1,5 @@
{{ if .Params.featured_image }}
  <header class="cover bg-center"{{ with .Params.featured_image }} style="background-image: url('{{ . }}');"{{ end }}>
  <header class="cover bg-center" style="background-image: url('{{ .Params.featured_image  | absURL }}');">
    <div class="bg-black-60">
      {{ partial "site-navigation.html" .}}
      <div class="tc-l pv4 pv6-l ph3 ph4-ns">
readme.md
@@ -37,3 +37,6 @@
This theme uses the "Tachyons" CSS library. This will allow you to manipulate the design of the theme by changing class names in HTML without touching the original CSS files. For more information see the [Tachyons website](http://tachyons.io/).
TODO:
- ADD INSTRUCTIONS