diff --git a/README.md b/README.md index 6c9f36b303..37a0225aff 100644 --- a/README.md +++ b/README.md @@ -267,12 +267,24 @@ All feature pages are stored in the `page` folder, they will appear in the navig Portfolio is a feature bootstrapped page that will take all the markdown/html files in the `_portfolio` folder to create a 3x3 image portfolio matrix. +The portfolio page can be enable/disable through the `_config.yml` via: +```yml +# Scripts / Feature + portfolio: true +``` ### Search The search feature is based on [Simple-Jekyll-search](https://github.com/christian-fei/Simple-Jekyll-Search) there is a `search.json` file that will create a list of all of the site posts, pages and portfolios. Then there's a `search.js` displaying the formated results entered in the `search.html` page. + +The search page can be enable/disable through the `_config.yml` via: +```yml +# Scripts / Feature + search: true +``` + ### Tags Post tags should be placed between `[]` in your post metadata. Seperate each tag with a comma. @@ -288,6 +300,12 @@ tags: [sample, markdown, html] ``` All the tags will be listed in `tags.html` with a link toward the pages or posts. +The tags page can be enable/disable through the `_config.yml` via: + +```yml +# Scripts / Feature + tags: true +``` ## License diff --git a/_config.yml b/_config.yml index 00a159f8bf..2a8e228846 100644 --- a/_config.yml +++ b/_config.yml @@ -43,10 +43,14 @@ theme_settings: wordpress: youtube: - # Scripts + # Scripts / Features google_analytics: # Tracking ID, e.g. "UA-000000-01" disqus_shortname: katex: true # Enable if using math markup + portfolio: true + search: true + tags: true + # Localization strings str_follow_on: "Follow on" diff --git a/_includes/navbar.html b/_includes/navbar.html index 670a818cbc..67d58387fd 100644 --- a/_includes/navbar.html +++ b/_includes/navbar.html @@ -27,7 +27,29 @@