mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
added back button to single posts
This commit is contained in:
@@ -171,3 +171,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.back-button{
|
||||||
|
padding:5px 20px;
|
||||||
|
border-style: solid;
|
||||||
|
color: $fg-color !important;
|
||||||
|
}
|
||||||
|
|||||||
@@ -32,6 +32,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.back-button{
|
||||||
|
color: $fg-color-dark !important;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -44,3 +47,5 @@ body.colorscheme-auto {
|
|||||||
@include content_dark()
|
@include content_dark()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
{{ define "content" }}
|
{{ define "content" }}
|
||||||
<section class="container post">
|
<section class="container post">
|
||||||
|
<a href="/" class="back-button">Go Back</a>
|
||||||
<article>
|
<article>
|
||||||
<header>
|
<header>
|
||||||
<div class="post-title">
|
<div class="post-title">
|
||||||
|
|||||||
Reference in New Issue
Block a user