From 9a2d6f1b3fc4387624cb38326a1ec70410439468 Mon Sep 17 00:00:00 2001 From: Dean Attali Date: Mon, 2 Mar 2015 14:44:12 -0800 Subject: [PATCH] add documentation and restructure to be simpler --- _config.yml | 78 +++++++++++++++++++++++------------ _includes/footer-minimal.html | 7 +++- _includes/footer.html | 7 +++- 3 files changed, 61 insertions(+), 31 deletions(-) diff --git a/_config.yml b/_config.yml index 4db7457..8369ce4 100644 --- a/_config.yml +++ b/_config.yml @@ -1,32 +1,47 @@ -# Serving -url: "http://daattali.github.io/beautiful-jekyll" # full site URL -url-short: "daattali.github.io/beautiful-jekyll" # how to display the url -baseurl: "/beautiful-jekyll" # does not include hostname +# --- Serving options --- # +# url is the full website URL +# baseurl is the website's URL without the hostname +# If you are building a simple GitHub user page (.github.io) then use these settings: +#url: "http://.github.io" +#baseurl: "" -# Header meta +# If you are building a GitHub project page then use settings similar to mine: +url: "http://daattali.github.io/beautiful-jekyll" +baseurl: "/beautiful-jekyll" + +# --- Header meta --- # +# Brief name and description of the site name: Beautiful Jekyll by Dean Attali description: Quickly build a beautiful Jekyll website -# Outputting +# --- Outputting options --- # +# More information can be found on Jekyll's site timezone: "America/Vancouver" markdown: redcarpet highlighter: pygments permalink: /:year-:month-:day-:title paginate: 5 -defaults: - - - scope: - path: "" # all files - values: - layout: "default" +# --- Navigation bar options --- # -title : Beautiful Jekyll +# Image to show in the navigation bar - image must be a square (width = height) +# Remove this parameter if you don't want an image in the navbar +avatar: "/img/avatar-icon.png" + +# List of links in the navigation bar +navbar-links: + Home: "" + About Me: "aboutme" + Contact: "contact" + Blog: "blog" + Error page: "nothing" + +# --- Footer options --- # # Change all these values or delete the ones you don't want. -# You should keep the "name" parameter since it will be used as the name of blog posts' author. +# Important: you must keep the "name" parameter, everything else you can remove author: name: Dean Attali email: "daattali@gmail.com" @@ -36,7 +51,7 @@ author: linkedin: "pub/dean-attali/8/946/143" stackoverflow: "users/3943160/daattali" - # You can quickly enable/disable links from showing in the footer +# Select which links to show in the footer footer-links-active: rss: false facebook: true @@ -45,19 +60,28 @@ footer-links-active: github: true linkedin: false stackoverflow: false - -avatar: "/img/avatar-icon.png" # image to show in navbar -# List of links in the navbar -navbar-links: - Home: "" - About Me: "aboutme" - Contact: "contact" - Blog: "blog" - Error page: "nothing" - -# disqus: "" # Your disqus shortname -# google_analytics: "" # Your Google Analytics ID +# How to display the link to the website in the footer +# Remove this if you don't want a link in the footer +url-pretty: "deanattali.com/beautiful-jekyll" + +# --- Misc --- # + +# Fill in your Disqus shortname (NOT the userid) if you want to support Disqus comments +#disqus: "" + +# Fill in your Google Analytics ID to track your website using GA +#google_analytics: "" + +# --- Don't need to touch anything below here (but you can if you want) --- # + +# Default YAML values (more information on Jekyll's site) +defaults: + - + scope: + path: "" # all files + values: + layout: "default" # Exclude these files from production site exclude: diff --git a/_includes/footer-minimal.html b/_includes/footer-minimal.html index bccc982..d8d3b41 100644 --- a/_includes/footer-minimal.html +++ b/_includes/footer-minimal.html @@ -7,7 +7,10 @@ {% else %} {{ site.time | date: '%Y' }} {% endif %} -   •   - {{ site.url-short }} + + {% if site.url-pretty %} +   •   + {{ site.url-pretty }} + {% endif %} \ No newline at end of file diff --git a/_includes/footer.html b/_includes/footer.html index ee98cac..55ceeb6 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -75,11 +75,14 @@ {% endif %}

Theme by