mirror of
https://github.com/Shopify/liquid.git
synced 2026-10-03 09:05:13 -07:00
Added breadcrumb to post titles. Starting to fix alignment for table headers
This commit is contained in:
+1
-2
@@ -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
@@ -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` |
|
||||||
|
|||||||
@@ -38,11 +38,17 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="content__area">
|
||||||
|
<div class="content__wrapper">
|
||||||
|
<h1>{% unless page.url == "/index.html" %}{{ page.collection | capitalize }} → {% endunless %} {{ page.title }}</h1>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="wrapper">
|
|
||||||
<h1>{{ page.title }}</h1>
|
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</div>
|
</div>
|
||||||
|
<a href="{{ page.previous }}">Previous </a>
|
||||||
|
<a href="{{ page.next }}">Next </a>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user