diff options
-rw-r--r-- | README.md | 9 | ||||
-rw-r--r-- | _config.yml | 2 | ||||
-rw-r--r-- | _includes/meta.html | 18 | ||||
-rw-r--r-- | _layouts/default.html | 7 | ||||
-rw-r--r-- | _layouts/post.html | 4 | ||||
-rw-r--r-- | index.html | 2 |
6 files changed, 31 insertions, 11 deletions
@@ -107,5 +107,12 @@ You can use the [Quick Start](https://github.com/barryclark/jekyll-now#quick-sta - [Solarized Light Pygments](https://gist.github.com/edwardhotchkiss/2005058) - Thanks, Edward. - [Joel Glovier](http://joelglovier.com/writing/) - Great Jekyll articles. I used Joel's feed.xml in this repository. - [David Furnes](https://github.com/dfurnes), [Jon Uy](https://github.com/jonuy), [Luke Patton](https://github.com/lkpttn) - Thanks for the design/code reviews. -- [Bart Kiers](https://github.com/bkiers), [Florian Simon](https://github.com/vermluh), [Henry Stanley](https://github.com/henryaj), [Hun Jae Lee](https://github.com/hunjaelee), [Javier Cejudo](https://github.com/javiercejudo), [Peter Etelej](https://github.com/etelej), [Ben Abbott](https://github.com/jaminscript), [Ray Nicholus](https://github.com/rnicholus), [Erin Grand](https://github.com/eringrand), [Léo Colombaro](https://github.com/LeoColomb) - Thanks for your [fantastic contributions](https://github.com/barryclark/jekyll-now/commits/master) to the project! +- [Bart Kiers](https://github.com/bkiers), [Florian Simon](https://github.com/vermluh), [Henry Stanley](https://github.com/henryaj), [Hun Jae Lee](https://github.com/hunjaelee), [Javier Cejudo](https://github.com/javiercejudo), [Peter Etelej](https://github.com/etelej), [Ben Abbott](https://github.com/jaminscript), [Ray Nicholus](https://github.com/rnicholus), [Erin Grand](https://github.com/eringrand), [Léo Colombaro](https://github.com/LeoColomb), [Dean Attali](https://github.com/daattali) - Thanks for your [fantastic contributions](https://github.com/barryclark/jekyll-now/commits/master) to the project! +## Contributing + +Issues and Pull Requests are greatly appreciated. If you've never contributed to an open source project before I'm more than happy to walk you through how to create a pull request. + +You can start by [opening an issue](https://github.com/barryclark/jekyll-now/issues/new) describing the problem that you're looking to resolve and we'll go from there. + +I want to keep Jekyll Now as minimal as possible. Every line of code should be one that's useful to 90% of the people using it. Please bear that in mind when submitting feature requests. If it's not something that most people will use, it probably won't get merged. :guardsman:
\ No newline at end of file diff --git a/_config.yml b/_config.yml index 38e0d78..494da8c 100644 --- a/_config.yml +++ b/_config.yml @@ -56,7 +56,7 @@ highlighter: pygments permalink: /:title/ # The release of Jekyll Now that you're using -version: v1.0.0 +version: v1.1.0 # Set the Sass partials directory, as we're using @imports sass: diff --git a/_includes/meta.html b/_includes/meta.html new file mode 100644 index 0000000..b8f4a33 --- /dev/null +++ b/_includes/meta.html @@ -0,0 +1,18 @@ + <meta charset="utf-8" /> + <meta content='text/html; charset=utf-8' http-equiv='Content-Type'> + <meta http-equiv='X-UA-Compatible' content='IE=edge'> + <meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0'> + + {% if page.excerpt %} + <meta name="description" content="{{ page.excerpt| strip_html }}" /> + <meta property="og:description" content="{{ page.excerpt| strip_html }}" /> + {% else %} + <meta name="description" content="{{ site.description }}"> + <meta property="og:description" content="{{ site.description }}" /> + {% endif %} + <meta name="author" content="{{ site.name }}" /> + + {% if page.title %} + <meta property="og:title" content="{{ page.title }}" /> + <meta property="twitter:title" content="{{ page.title }}" /> + {% endif %}
\ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index f4d3255..b2939c0 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,14 +1,9 @@ <!DOCTYPE html> <html> <head> - <meta charset="utf-8" /> - <meta http-equiv="X-UA-Compatible" content="IE=edge"> - <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> - <title>{% if page.title %}{{ page.title }} – {% endif %}{{ site.name }} – {{ site.description }}</title> - <meta name="author" content="{{ site.name }}" /> - <meta name="description" content="{{ site.description }}"> + {% include meta.html %} <!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> diff --git a/_layouts/post.html b/_layouts/post.html index a84a4fe..d27c480 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -13,5 +13,5 @@ layout: default Written on {{ page.date | date: "%B %e, %Y" }} </div> - {% include disqus.html disqus_identifier=page.disqus_identifier %} -</article>
\ No newline at end of file + {% include disqus.html %} +</article> @@ -9,7 +9,7 @@ layout: default <h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1> <div class="entry"> - {{ post.content | truncatewords:40}} + {{ post.excerpt }} </div> <a href="{{ site.baseurl }}{{ post.url }}" class="read-more">Read More</a> |