Alexander Avery
2 months ago
14 changed files with 78 additions and 109 deletions
@ -1,13 +1,14 @@ |
|||||
$background-color: #1f2835; |
|
||||
$font-color: #f8f8ff; |
|
||||
$top-bar: #f8f8ffcc; |
|
||||
|
|
||||
$beetbox-red: #9e0008; |
$beetbox-red: #9e0008; |
||||
$beetbox-pink: #d93370; |
$beetbox-pink: #d93370; |
||||
$beetbox-purple: #ac65cb; |
$beetbox-purple: #ac65cb; |
||||
$beetbox-green: #003f56; |
$beetbox-green: #003f56; |
||||
$beetbox-blue: #5fcfd0; |
$beetbox-blue: #5fcfd0; |
||||
|
|
||||
|
$background-color: #1f2835; |
||||
|
$font-color: #f8f8ff; |
||||
|
$font-color-alternate: #1f2835; |
||||
|
$top-bar: #f8f8ffcc; |
||||
$dark: #111; |
$dark: #111; |
||||
$visited-link: #e4cdef; |
$link-color: $beetbox-blue; |
||||
|
$link-color-visited: #e4cdef; |
||||
|
$code-edge: $beetbox-purple; |
||||
|
@ -0,0 +1,14 @@ |
|||||
|
<a href={{ printf "/%s/%s" "authors" (.Params.name | urlize) }}> |
||||
|
<article class="shadow left-to-right float-on-hover align-center"> |
||||
|
<div> |
||||
|
{{ with .Resources.GetMatch "avatar" }} |
||||
|
<img class="shadow small-circle" src="{{ .RelPermalink }}" alt="{{ .Params.alt }}"/> |
||||
|
{{ end }} |
||||
|
</div> |
||||
|
<div> |
||||
|
<h2>{{ .Params.name }}</h2> |
||||
|
<p>{{ .Params.bio }}</p> |
||||
|
</div> |
||||
|
</article> |
||||
|
</a> |
||||
|
|
@ -1,14 +0,0 @@ |
|||||
<a class="article-link" href={{ printf "/%s/%s" "authors" (.Params.name | urlize) }}> |
|
||||
<article class="card-alternate shadow float-on-hover"> |
|
||||
<div> |
|
||||
{{ with .Resources.GetMatch "avatar" }} |
|
||||
<img class="shadow" src="{{ .RelPermalink }}" alt="{{ .Params.alt }}"/> |
|
||||
{{ end }} |
|
||||
</div> |
|
||||
<div> |
|
||||
<h2>{{ .Params.name }}</h2> |
|
||||
<p>{{ .Params.bio }}</p> |
|
||||
</div> |
|
||||
</article> |
|
||||
</a> |
|
||||
|
|
@ -1,27 +0,0 @@ |
|||||
<article class="shadow float-on-hover card"> |
|
||||
<div class="article-image"> |
|
||||
<a href=" {{ .Permalink }}"> |
|
||||
{{ $image := .Resources.GetMatch "featured" }} |
|
||||
{{ partial "image.html" (dict "image" $image "alt" .Params.featured.alt "class" "fill-wh")}} |
|
||||
</a> |
|
||||
</div> |
|
||||
<div class="article-info-container"> |
|
||||
<div class="article-info"> |
|
||||
{{ range first 1 (.GetTerms "tags") }} |
|
||||
<a class="small-text" href="{{ .Permalink }}">{{ .LinkTitle }}</a> |
|
||||
{{ end }} |
|
||||
<a href="{{ .Permalink }}" class="article-title fill-wh"> |
|
||||
<h2>{{ .Title | markdownify }}</h2> |
|
||||
{{ if ne .Kind "term"}} |
|
||||
<span class="date"> |
|
||||
{{ if .Date }} |
|
||||
{{ .Date.Format "2006/01/02" }} |
|
||||
{{ else }} |
|
||||
TBD |
|
||||
{{ end }} |
|
||||
</span> |
|
||||
{{ end }} |
|
||||
</a> |
|
||||
</div> |
|
||||
</div> |
|
||||
</article> |
|
@ -0,0 +1,22 @@ |
|||||
|
<article class="shadow float-on-hover"> |
||||
|
|
||||
|
<a href=" {{.Permalink }}"> |
||||
|
{{ $image := .Resources.GetMatch "featured" }} |
||||
|
{{ partial "image.html" (dict "image" $image "alt" .Params.featured.alt) }} |
||||
|
</a> |
||||
|
|
||||
|
<div> |
||||
|
|
||||
|
{{ with index (.GetTerms "tags") 0 }} |
||||
|
<a class="small-text" href="{{ .Permalink }}">{{ .LinkTitle }}</a> |
||||
|
{{ end }} |
||||
|
|
||||
|
<h2 class="title">{{ .Title | markdownify }}</h2> |
||||
|
|
||||
|
{{ with .Date }} |
||||
|
<p>{{ .Format "2006/01/02" }}</p> |
||||
|
{{ end }} |
||||
|
|
||||
|
</div> |
||||
|
|
||||
|
</article> |
Loading…
Reference in new issue