Ver código fonte

Add single layout stylesheets for all content types

Ensure that every content type has its own stylesheet even if it's blank otherwise you'll get 404 errors
master
Adrian Short 6 anos atrás
pai
commit
2061f3a188
7 arquivos alterados com 13 adições e 3 exclusões
  1. +0
    -1
      layouts/image/single.html
  2. +0
    -1
      layouts/video/single.html
  3. +0
    -0
      static/css/aside.css
  4. +8
    -0
      static/css/image.css
  5. +1
    -1
      static/css/post.css
  6. +0
    -0
      static/css/quote.css
  7. +4
    -0
      static/css/video.css

+ 0
- 1
layouts/image/single.html Ver arquivo

@@ -1,5 +1,4 @@
{{ partial "header" . }} {{ partial "header" . }}
<style>body { background-color: #fff; color: black; }</style>
{{ partial "image" . }} {{ partial "image" . }}
{{ partial "postmeta" . }} {{ partial "postmeta" . }}
{{ partial "footer" . }} {{ partial "footer" . }}

+ 0
- 1
layouts/video/single.html Ver arquivo

@@ -1,5 +1,4 @@
{{ partial "header" . }} {{ partial "header" . }}
<style>body { background-color: black; color: white; }</style>
{{ partial "video-embed" .Params.embed_url }} {{ partial "video-embed" .Params.embed_url }}
{{ .Content }} {{ .Content }}
{{ partial "postmeta" . }} {{ partial "postmeta" . }}


+ 0
- 0
static/css/aside.css Ver arquivo


+ 8
- 0
static/css/image.css Ver arquivo

@@ -0,0 +1,8 @@
body {
background-color: #fff;
color: black;
}

h1#site-title a, h1#site-title a:visited, h1#site-title a:hover {
color: #eee;
}

+ 1
- 1
static/css/post.css Ver arquivo

@@ -9,5 +9,5 @@ h1, h2, h3 {
} }


h1#site-title a, h1#site-title a:visited, h1#site-title a:hover { h1#site-title a, h1#site-title a:visited, h1#site-title a:hover {
color: #777;
color: #ccc;
} }

+ 0
- 0
static/css/quote.css Ver arquivo


+ 4
- 0
static/css/video.css Ver arquivo

@@ -0,0 +1,4 @@
body {
background-color: black;
color: white;
}

Carregando…
Cancelar
Salvar