소스 검색

fix issues with featured image

tags/v1.1
Bud Parr 7 년 전
부모
커밋
ea887e9313
No account linked to committer's email address
3개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 1
    1
      layouts/partials/page-header.html
  2. 1
    1
      layouts/partials/site-header.html
  3. 3
    0
      readme.md

+ 1
- 1
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">

+ 1
- 1
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">

+ 3
- 0
readme.md 파일 보기

@@ -37,3 +37,6 @@ Includes examples of


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

Loading…
취소
저장