Skip to content
Permalink
Browse files

fix span color and add photo type

- make the spans within the h1s the right color
- make all posts in /photos/ the photo type
  • Loading branch information
jasikpark committed Jan 25, 2020
1 parent 4484bba commit efcff5dda6d0ab337a7e4b128a3fca25d6bf6615
@@ -2,7 +2,7 @@
Description = ""
Tags = []
Categories = []
Type = "post"
Type = "photo"
Date = "{{ .Date }}"
Title = ""
ImgAlt =""
@@ -2,7 +2,7 @@
Description = ""
Tags = []
Categories = []
Type = "post"
Type = "photo"
Date = "2019-10-02T21:12:32-05:00"
Title = "Fig Tree!"
ImgAlt = "pic of fig tree at parent's house"
@@ -2,7 +2,7 @@
Description = ""
Tags = []
Categories = []
Type = "post"
Type = "photo"
Date = "2019-07-23T20:44:14-05:00"
Title = "First Plant Post"
ImgAlt = "milo the cat sunbathes in the window, with lots of plants around him"
@@ -2,7 +2,7 @@
Description = ""
Tags = []
Categories = []
Type = "post"
Type = "photo"
Date = "2019-09-13T00:06:44-05:00"
Title = "Madi wanted this."
ImgAlt = "hedgehog"
@@ -2,7 +2,7 @@
Description = ""
Tags = []
Categories = []
Type = "post"
Type = "photo"
Date = "2019-09-07T14:15:14-05:00"
Title = "Hello"
ImgAlt = "picture of a stuffed creature with a cute face"
@@ -2,7 +2,7 @@
Description = ""
Tags = []
Categories = []
Type = "post"
Type = "photo"
Date = "2019-12-08T15:09:32-05:00"

Title = "Large Fig Tree Update!"
@@ -2,7 +2,7 @@
Description = ""
Tags = []
Categories = []
Type = "post"
Type = "photo"
Date = "2019-12-09T21:59:04-06:00"

Title = "Small Fig Tree!"
@@ -7,7 +7,7 @@ <h1 style="font-size:initial;">
<span class="draft-label">Draft</span>
{{ end }}
<a href="{{ .Permalink }}">
<span style="color: var(--text-bright)">{{ .Title }}</span>
<span>{{ .Title }}</span>
</a>
</h1>
</header>
@@ -67,6 +67,10 @@
.gist tbody tr {
background-color: #ffffff;
}

h1 span {
color: var(--text-bright);
}
</style>
<!--<meta name="description" content="{{ .Description }}">-->
<link rel="icon" href="data:;base64,iVBORw0KGgo=" />
@@ -2,13 +2,18 @@

<body style="padding:0;">
<header id="hello">
<a href="{{ .Permalink }}">
<h1 style="font-size:initial">{{ .Title }}</h1>
</a>
<hr />
<h1 style="font-size:initial;">
<a href="{{ .Site.BaseURL }}">
<span></span>
</a>
<a href="{{ .Permalink }}">
<span>{{ .Title }}</span>
</a>
</h1>
</header>
<hr />
<main style="padding: 40px 0 0 0;" class="par">
{{ range (where .Pages "Type" "post")}}
{{ range .RegularPages }}
<div class="pd" style="width:100%;justify-content:center;padding-bottom:3.6em">
<a href="{{ .Permalink }}" title="{{ .Title }}">
<img style="width:100vw" {{ with .Resources }}
@@ -18,7 +18,7 @@ xmlns:atom="http://www.w3.org/2005/Atom"
{{ with .OutputFormats.Get "RSS" }}
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
{{ end }}
{{ range (where .Pages "Type" "post") }}
{{ range .RegularPages }}
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>

0 comments on commit efcff5d

Please sign in to comment.
You can’t perform that action at this time.