diff --git a/README.md b/README.md index aad62f2b..38b3b18d 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ Your Google Analytics ID goes here along with meta tags for [Google Webmaster To #### Top Navigation Links -Edit page/post titles and URLs to include in the site's navigation. If you want to add links to other sites you can hardcode them into `navigation.html`. +Edit page/post titles and URLs to include in the site's navigation. For external links add `external: true`. ``` yaml # sample top navigation links @@ -79,6 +79,9 @@ links: url: /articles - title: Other Page url: /other-page + - title: External Page + url: http://mademistakes.com + external: true ``` #### Other Stuff diff --git a/_config.yml b/_config.yml index 7f84086e..2aef965e 100644 --- a/_config.yml +++ b/_config.yml @@ -27,7 +27,8 @@ google_verify: UQj93ERU9zgECodaaXgVpkjrFn9UrDMEzVamacSoQ8Y # https://ssl.bing.com/webmaster/configure/verify/ownership Option 2 content= goes here bing_verify: D81F4C18A6CB3018F64D7C827D953DFD -# Internal pages/posts to include in top navigation +# Links to include in top navigation +# For external links add external: true links: - title: About url: /about @@ -35,6 +36,9 @@ links: url: /articles - title: Theme Setup url: /theme-setup + - title: Made Mistakes + url: http://mademistakes.com + external: true # http://en.wikipedia.org/wiki/List_of_tz_database_time_zones timezone: America/New_York diff --git a/_includes/navigation.html b/_includes/navigation.html index 8ddaaa18..c4382cde 100644 --- a/_includes/navigation.html +++ b/_includes/navigation.html @@ -6,7 +6,7 @@