Skip to content

Commit

Permalink
Bump bfplus version
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Lhussiez committed Aug 27, 2019
1 parent ffe26f6 commit de5c61d
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 14 deletions.
2 changes: 1 addition & 1 deletion assets/style.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/style.min.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ code {
}
}
.draftinfo {
background: grey;
background: map-get($colors, "warning");
color: #fff;
border-radius: 5px;
float: right;
Expand Down Expand Up @@ -284,17 +284,18 @@ span.draft {
font-size: 15px;
}

.date {
color: grey;
font-size: 0.85rem;
}

.post {
border-left: 0.25rem solid $color-blue;
border-radius: 0.1rem;
padding-left: 0.5rem;
margin-bottom: 2rem;
p {
margin: 0;
&.date {
color: grey;
font-size: 0.85rem;
}
&.description {
color: grey;
font-size: 0.85rem;
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/Depado/smallblog
go 1.12

require (
github.com/Depado/bfplus v0.1.0
github.com/Depado/bfplus v0.1.1
github.com/alecthomas/chroma v0.6.6
github.com/alecthomas/repr v0.0.0-20181024024818-d37bc2a10ba1 // indirect
github.com/gin-contrib/sse v0.1.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ bou.ke/monkey v1.0.1/go.mod h1:FgHuK96Rv2Nlf+0u1OOVDpCMdsWyOFmeeketDHE7LIg=
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/Depado/bfplus v0.1.0 h1:O1NcMBc3E/2YUxI7LSP4sA2lNyEraQl07TxJ7f46urw=
github.com/Depado/bfplus v0.1.0/go.mod h1:QmFCHb/ziWGqCxR3naORj/IRmbfv1XRDdNADmvfutlM=
github.com/Depado/bfplus v0.1.1 h1:nBPmfy9Prd3jqzY6rHbxSpb9dabWNByMo/I8sf8UaWg=
github.com/Depado/bfplus v0.1.1/go.mod h1:QmFCHb/ziWGqCxR3naORj/IRmbfv1XRDdNADmvfutlM=
github.com/GeertJohan/go.incremental v1.0.0/go.mod h1:6fAjUhbVuX1KcMD3c8TEgVUqmo4seqhv0i0kdATSkM0=
github.com/GeertJohan/go.rice v1.0.0/go.mod h1:eH6gbSOAUv07dQuZVnBmoDP8mgsM1rtixis4Tib9if0=
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
Expand Down
11 changes: 7 additions & 4 deletions templates/post.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,13 @@
{{ if .post.Banner }}<img src="{{ .post.Banner }}" alt="banner">{{ end }}
<h1 class="title">{{ .post.Title }}</h1>
{{ if .post.Description }}<p>{{ .post.Description }}</p>{{ end }}
{{ range .post.Tags }}
{{ if not $.local }}
<a href="/tag/{{ . }}">{{ end }}<span class="btn tag">{{ . }}</span>{{ if not $.local }}</a>{{ end }}
{{ end }}
<p>
{{ range .post.Tags }}
{{ if not $.local }}
<a href="/tag/{{ . }}">{{ end }}<span class="btn tag">{{ . }}</span>{{ if not $.local }}</a>{{ end }}
{{ end }}
<br /><span class="date"><i class="far fa-clock"></i> {{ .post.DateFmt }}</span>
</p>
{{ if .post.Author }}
{{ template "author" .post.Author }}
{{ end }}
Expand Down

0 comments on commit de5c61d

Please sign in to comment.