This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if post.content contains '<!--more-->' %} | |
{{ post.content | split:'<!--more-->' | first %}} | |
<p><a class="btn btn-primary btn-lg" href="{{ post.url }}">Continue reading...</a></p> | |
{% else %} | |
{{ post.content | truncate: 500 }} | |
<p><a class="btn btn-primary btn-lg" href="{{ post.url }}">Continue reading...</a></p> | |
{% endif %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Run this scrript in the root directory of your Jekyll source | |
# repository for your GitHub page, and it will commit and push | |
# the source to origin/source, then build, commit and push the | |
# resuling HTML to your origin/master, i.e. your website. The | |
# commit message for both commits is given by the first | |
# argument. | |
if [[ -z "$1" ]]; then |
NewerOlder