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
+1 -2
View File
@@ -17,7 +17,7 @@ require('load-grunt-tasks')(grunt);
}, },
jekyll: { jekyll: {
files: ['index.html', '_includes/*.html', 'filters/*.*', '_layouts/*.*', '_posts/*.*'], files: ['index.html', '_includes/*.html', '_filters/*.*', '_layouts/*.*', '_posts/*.*'],
tasks: ['shell:jekyllBuild'] tasks: ['shell:jekyllBuild']
} }
@@ -71,6 +71,5 @@ require('load-grunt-tasks')(grunt);
grunt.loadNpmTasks('grunt-postcss'); grunt.loadNpmTasks('grunt-postcss');
grunt.loadNpmTasks('grunt-concurrent'); grunt.loadNpmTasks('grunt-concurrent');
// grunt.registerTask('default', ['shell:jekyllServe', 'watch']);
grunt.registerTask('default', ['concurrent']); grunt.registerTask('default', ['concurrent']);
}; };
+1 -1
View File
@@ -5,5 +5,5 @@ title: replace
Replaces every occurrence of a given string. Replaces every occurrence of a given string.
| Code | Output | | Code | Output |
|-------------------------------------------------------:|:-------------------| |:-------------------------------------------------------|:-------------------|
| {% raw %}`{{ 'hello, hello world' | replace: 'hello', 'goodbye' }}`{% endraw %} | `goodbye, goodbye world` | | {% raw %}`{{ 'hello, hello world' | replace: 'hello', 'goodbye' }}`{% endraw %} | `goodbye, goodbye world` |
+10 -4
View File
@@ -38,11 +38,17 @@
{% endfor %} {% endfor %}
</nav> </nav>
</div> </div>
<div class="content">
<div class="wrapper"> <div class="content__area">
<h1>{{ page.title }}</h1> <div class="content__wrapper">
{{ content }} <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>
</div> </div>
</body> </body>
</html> </html>
+2 -2
View File
@@ -7,12 +7,12 @@ $wrapper-width: 800px;
Content Area Content Area
==============================================================================*/ ==============================================================================*/
.content { .content__area {
padding: $spacing-unit $spacing-unit $spacing-unit ($spacing-unit + $sidebar-width); padding: $spacing-unit $spacing-unit $spacing-unit ($spacing-unit + $sidebar-width);
width: 100%; width: 100%;
} }
.wrapper { .content__wrapper {
max-width: $wrapper-width; max-width: $wrapper-width;
margin: 0 auto; margin: 0 auto;
padding: 0 $spacing-unit; padding: 0 $spacing-unit;