{{ page.title }}
+{{ page.title }}
{% else %} -{{ page.title }}
+{{ page.title }}
{% endif %} --
diff --git a/_config.yml b/_config.yml index 06e30b87..17c0362c 100644 --- a/_config.yml +++ b/_config.yml @@ -5,20 +5,46 @@ # For technical reasons, this file is *NOT* reloaded automatically when you use # 'jekyll serve'. If you change this file, please restart the server process. -# Site settings -locale : en_US -title : Your awesome title -description : "Write an awesome description for your new site here." -url : "" # the base hostname & protocol for your site -baseurl : "" # the subpath of your site, e.g. /blog -email : your-email@domain.com +# Site Settings +locale : en_US +title : "Your awesome site" +name : &name "Your Name" +title_separator : "-" +description : &description "Write an awesome description for your new site here." +url : "http://localhost:4000" # the base hostname & protocol for your site +baseurl : "/test" # the subpath of your site, e.g. /blog +email : "your-email@domain.com" +logo : "site-logo.png" +twitter: + username : &twitter "site_twitter" +facebook: + username : &facebook "site_facebook" + app_id : + publisher : +disqus_shortname : "mmistakes-dev" # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname- +google_site_verification : +bing_site_verification : +alexa_site_verification : +yandex_site_verification : +google_analytics : # Universal Analytics tracking ID +google_ad_client : +google_ad_slot : -# Handling Reading -safe : false -include : +# For specifying social profiles. +# https://developers.google.com/structured-data/customize/social-profiles +social: + type : # Person or Organization (defaults to Person) + name : # If the user or organization name differs from the site's name + links: # An array of links to social media profiles + - "https://twitter.com/site_twitter" + - "https://facebook.com/site_facebook" + +# Reading Files +safe: false +include: - .htaccess - _pages -exclude : +exclude: - "*.sublime-project" - "*.sublime-workspace" - .asset-cache @@ -52,6 +78,29 @@ lsi: false excerpt_separator: "\n\n" incremental: false +# Markdown Processing +kramdown: + input: GFM + hard_wrap: false + auto_ids: true + footnote_nr: 1 + entity_output: as_char + toc_levels: 1..6 + smart_quotes: lsquo,rsquo,ldquo,rdquo + enable_coderay: false + +# Defaults +defaults: + + # _posts + - scope: + path: "" + type: posts + values: + layout: post + comments: true + share: true + # Plugins gems: - jekyll-paginate @@ -63,37 +112,26 @@ permalink: /:categories/:title/ paginate_path: /page:num timezone: America/New_York # http://en.wikipedia.org/wiki/List_of_tz_database_time_zones -# Markdown Processors -kramdown: - input: GFM - hard_wrap: false - auto_ids: rue - footnote_nr: 1 - entity_output: as_char - toc_levels: 1..6 - smart_quotes: lsquo,rsquo,ldquo,rdquo - enable_coderay: false +# HTML Compression +# http://jch.penibelst.de/ +compress_html: + clippings: all + ignore: + envs: development -# Site owner -owner: - name : Your Name - avatar : bio-photo.jpg - bio : "Describe your self." - email : - disqus-shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname- - bing-verify : +# Site Author +author: + name : *name + avatar : "bio-photo.jpg" + bio : *description + email : *email codepen : dribbble : flickr : - facebook : + facebook : *facebook foursquare : github : - google : - plus : - analytics : - verify : - ad-client : - ad-slot : + google_plus : instagram : lastfm : linkedin : @@ -102,7 +140,7 @@ owner: stackoverflow : # http://stackoverflow.com/users/123456/username steam : tumblr : - twitter : + twitter : *twitter weibo : xing : youtube : diff --git a/_data/authors.yml b/_data/authors.yml index d49d88bf..108118c4 100644 --- a/_data/authors.yml +++ b/_data/authors.yml @@ -1,20 +1,18 @@ # Authors billy_rick: - name: Billy Rick - web: http://thewhip.com - email: billy@rick.com - bio: "What do you want, jewels? I am a very extravagant man." - avatar: bio-photo-2.jpg - twitter: extravagantman - google: - plus: BillyRick + name : "Billy Rick" + web : "http://thewhip.com" + email : "billy@rick.com" + bio : "What do you want, jewels? I am a very extravagant man." + avatar : "bio-photo-2.jpg" + twitter : "extravagantman" + google_plus : "BillyRick" cornelius_fiddlebone: - name: Cornelius Fiddlebone - email: cornelius@thewhip.com - bio: "I ordered what?" - avatar: bio-photo.jpg - twitter: rhymeswithsackit - google: - plus: CorneliusFiddlebone \ No newline at end of file + name : "Cornelius Fiddlebone" + email : "cornelius@thewhip.com" + bio : "I ordered what?" + avatar : "bio-photo.jpg" + twitter : "rhymeswithsackit" + google_plus : "CorneliusFiddlebone" \ No newline at end of file diff --git a/_includes/_author-bio.html b/_includes/_author-bio.html deleted file mode 100644 index 7fd24e34..00000000 --- a/_includes/_author-bio.html +++ /dev/null @@ -1,35 +0,0 @@ -{% if page.author %} - {% assign author = site.data.authors[page.author] %}{% else %}{% assign author = site.owner %} -{% endif %} - -
{{ author.bio }}
- {% if author.email %} Email{% endif %} - {% if author.twitter %} Twitter{% endif %} - {% if author.facebook %} Facebook{% endif %} - {% if author.google.plus %} Google+{% endif %} - {% if author.linkedin %} LinkedIn{% endif %} - {% if author.xing %} XING{% endif %} - {% if author.instagram %} Instagram{% endif %} - {% if author.tumblr %} Tumblr{% endif %} - {% if author.github %} Github{% endif %} - {% if author.stackoverflow %} Stackoverflow{% endif %} - {% if author.lastfm %} Last.fm{% endif %} - {% if author.dribbble %} Dribbble{% endif %} - {% if author.pinterest %} Pinterest{% endif %} - {% if author.foursquare %} Foursquare{% endif %} - {% if author.steam %} Steam{% endif %} - {% if author.youtube %} Youtube{% endif %} - {% if author.soundcloud %} Soundcloud{% endif %} - {% if author.weibo %} Weibo{% endif %} - {% if author.flickr %} Flickr{% endif %} - {% if author.codepen %} CodePen{% endif %} -{{ post.title }} was originally published by {{ site.owner.name }} on {{ site.title }}
+{% endcapture %} +{{ feed_footer | markdownify | xml_escape }} \ No newline at end of file diff --git a/_includes/_footer.html b/_includes/footer.html similarity index 54% rename from _includes/_footer.html rename to _includes/footer.html index 90d904df..4bb814e4 100644 --- a/_includes/_footer.html +++ b/_includes/footer.html @@ -1,7 +1,7 @@ {% if site.owner.google.ad-client and site.owner.google.ad-slot %}{{ post.excerpt | strip_html | truncate: 160 }}
- {% endif %} -