diff --git a/README.md b/README.md index b28f60f..0a25e26 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,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 @@ -87,6 +87,9 @@ links: url: /articles - title: Other Page url: /other-page + - title: External Link + url: http://mademistakes.com + external: true ``` #### Other Stuff diff --git a/_config.yml b/_config.yml index 294dc68..ebe169b 100644 --- a/_config.yml +++ b/_config.yml @@ -26,7 +26,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 @@ -34,6 +35,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 b5cd4cc..4f5b563 100644 --- a/_includes/navigation.html +++ b/_includes/navigation.html @@ -2,7 +2,7 @@