forked from autonomic-cooperative/sophie-lewis-hugo
a.no-underline class
This commit is contained in:
@ -254,7 +254,6 @@ hr {
|
||||
}
|
||||
|
||||
.title {
|
||||
font-family: $serif_font;
|
||||
font-style: italic;
|
||||
font-weight: 200;
|
||||
}
|
||||
@ -275,6 +274,10 @@ a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a.no-underline {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: $mono_font;
|
||||
font-size: 21px;
|
||||
|
@ -3,8 +3,8 @@
|
||||
{{ if eq (.Title | lower) "about" }}
|
||||
<div class="column is-one-third">
|
||||
<div class="headshot">
|
||||
{{ $img := relURL "img/headshot_example.png" }}
|
||||
{{ if isset $.Site.Params.about "headshot" }}
|
||||
{{ $img := relURL "img/headshot_example.png" }}
|
||||
{{ if isset $.Site.Params.about "headshot" }}
|
||||
{{ if fileExists ( printf "static/img/%s" $.Site.Params.about.headshot ) }}
|
||||
{{ $img := relURL ( printf "img/%s" $.Site.Params.about.headshot )}}
|
||||
<img src='{{ $img }}'>
|
||||
|
@ -2,11 +2,11 @@
|
||||
<div class="hero-body">
|
||||
{{ $content_class := $.Page.Params.title | lower }}
|
||||
{{ if eq (.Title | lower) "abolish-the-family" }}
|
||||
<a class="button is-outlined button-book" href="/writing/abolish-the-family/">NEW BOOK <b>Abolish The Family</b></a><br />
|
||||
<a class="button is-outlined button-book no-underline" href="/writing/abolish-the-family/">NEW BOOK <b>Abolish The Family</b></a><br />
|
||||
{{else}}
|
||||
<a class="button button-book" href="/writing/abolish-the-family/">NEW BOOK <b>Abolish The Family</b></a><br />
|
||||
<a class="button button-book no-underline" href="/writing/abolish-the-family/">NEW BOOK <b>Abolish The Family</b></a><br />
|
||||
{{end}}
|
||||
<a href="/">
|
||||
<a class="no-underline" href="/">
|
||||
<p class="title is-size-0-1">
|
||||
{{ site.Params.header.name }}
|
||||
</p>
|
||||
|
Reference in New Issue
Block a user