mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-11-22 00:05:57 -05:00
adding breadcrumbs to the jekyll layouts
This commit is contained in:
parent
f7af0511fa
commit
a0247ef458
@ -2,6 +2,9 @@
|
||||
layout: default
|
||||
---
|
||||
|
||||
<div id="breadcrumbs">
|
||||
<a href="{{ '/' | prepend: site.baseurl }}">Home</a>
|
||||
</div>
|
||||
<div class="page">
|
||||
<h1 class="page-title">{{ page.title }}</h1>
|
||||
{{ content }}
|
||||
|
||||
@ -2,6 +2,10 @@
|
||||
layout: default
|
||||
---
|
||||
|
||||
<div id="breadcrumbs">
|
||||
<a href="{{ '/' | prepend: site.baseurl }}">Home</a>
|
||||
<a href="{{ '/posts' | prepend: site.baseurl }}">Blog</a>
|
||||
</div>
|
||||
<div class="post">
|
||||
<h1 class="post-title">{{ page.title }}</h1>
|
||||
<span class="post-date">{{ page.date | date_to_string }}</span>
|
||||
|
||||
@ -2,7 +2,14 @@
|
||||
layout: default
|
||||
---
|
||||
|
||||
<div class="page">
|
||||
<div id="breadcrumbs">
|
||||
<a href="{{ '/' | prepend: site.baseurl }}">Home</a>
|
||||
{% assign wikihome = '/wiki/home.html' | prepend: site.baseurl %}
|
||||
{% if page.url != wikihome %}
|
||||
<a href="{{ wikihome }}">Wiki</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="page wiki">
|
||||
<h1 class="page-title">{{ page.title }}</h1>
|
||||
{{ content }}
|
||||
</div>
|
||||
|
||||
@ -1,3 +1,17 @@
|
||||
#breadcrumbs {
|
||||
margin-bottom: 1.8em;
|
||||
|
||||
a {
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
a+a:before {
|
||||
padding-right: 10px;
|
||||
color: $color-body-text;
|
||||
content: "/\00a0";
|
||||
}
|
||||
}
|
||||
|
||||
.header {
|
||||
padding: 3em 0 2em;
|
||||
text-align: center;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user