Added breadcrumb to post titles. Starting to fix alignment for table headers

This commit is contained in:
Tetsuro
2015-07-25 15:39:04 -04:00
parent 0ca571f58c
commit d9a08801c5
4 changed files with 14 additions and 9 deletions

View File

@@ -17,7 +17,7 @@ require('load-grunt-tasks')(grunt);
},
jekyll: {
files: ['index.html', '_includes/*.html', 'filters/*.*', '_layouts/*.*', '_posts/*.*'],
files: ['index.html', '_includes/*.html', '_filters/*.*', '_layouts/*.*', '_posts/*.*'],
tasks: ['shell:jekyllBuild']
}
@@ -71,6 +71,5 @@ require('load-grunt-tasks')(grunt);
grunt.loadNpmTasks('grunt-postcss');
grunt.loadNpmTasks('grunt-concurrent');
// grunt.registerTask('default', ['shell:jekyllServe', 'watch']);
grunt.registerTask('default', ['concurrent']);
};

View File

@@ -5,5 +5,5 @@ title: replace
Replaces every occurrence of a given string.
| Code | Output |
|-------------------------------------------------------:|:-------------------|
|:-------------------------------------------------------|:-------------------|
| {% raw %}`{{ 'hello, hello world' | replace: 'hello', 'goodbye' }}`{% endraw %} | `goodbye, goodbye world` |

View File

@@ -38,11 +38,17 @@
{% endfor %}
</nav>
</div>
<div class="content">
<div class="wrapper">
<h1>{{ page.title }}</h1>
{{ content }}
<div class="content__area">
<div class="content__wrapper">
<h1>{% unless page.url == "/index.html" %}{{ page.collection | capitalize }} &rarr; {% endunless %} {{ page.title }}</h1>
<div class="content">
{{ content }}
</div>
<a href="{{ page.previous }}">Previous </a>
<a href="{{ page.next }}">Next </a>
</div>
</div>
</body>
</html>

View File

@@ -7,12 +7,12 @@ $wrapper-width: 800px;
Content Area
==============================================================================*/
.content {
.content__area {
padding: $spacing-unit $spacing-unit $spacing-unit ($spacing-unit + $sidebar-width);
width: 100%;
}
.wrapper {
.content__wrapper {
max-width: $wrapper-width;
margin: 0 auto;
padding: 0 $spacing-unit;