diff --git a/README.md b/README.md index a7b4f48..5b1896a 100644 --- a/README.md +++ b/README.md @@ -13,14 +13,15 @@ Reverie-Crappy is a fork of [amitmerchant1990/reverie](https://github.com/amitmerchant1990/reverie) with some adjustment. The following has been add/edited from the original : - - Dark Theme toggle (don't respect browser preferance) with DarkReader. + - Dark Theme toggle (don't respect browser preferences) with DarkReader. - Remove . when post author doesn't present. - change file strcture. - - Post 'visiblity' when not set to public, will not be listed on site. It still appear on sitemap though. + - ~~Post 'visiblity' when not set to public, will not be listed on site. It still appear on sitemap though.~~ changed to 'hidden: true' for pagination compatiblity. - More expand friendly navbar. - add gitea icon svg. - choice to disable/enable Twitter share on buttom. - choice to enable/disable blog on first page. + - any file contain "hidden_true" will be exclude from sitemap (via _config.yaml) Reverie is a [Jekyll](https://jekyllrb.com/)-powered theme which is simple and opinionated. It's actually a fork of [jekyll-now](https://github.com/barryclark/jekyll-now) with some additional features and personal touches which I've implemented to suit my needs for my blog. diff --git a/_config.yml b/_config.yml index 3b668fd..33694e3 100644 --- a/_config.yml +++ b/_config.yml @@ -58,8 +58,9 @@ enforce_ssl: # then add in the baseurl here, like this: "/repository-name" baseurl: "" +# Enable blog on index page index_blog: true - +# Enable share to twitter button in posts twitter_blog_share: false # @@ -95,11 +96,19 @@ plugins: include: ['_pages'] paginate: 3 -paginate_path: /page:num/ +paginate_path: /blog/page_:num + +# Sitemap configuration +defaults: + - + scope: + path: "**/*hidden_true*" + values: + sitemap: false header_pages: - _pages/projects.md - - _pages/search.md + - _pages/search_hidden_true.md - _pages/archive.md - _pages/about.md diff --git a/_pages/archive.md b/_pages/archive.md index 388a14e..f3ecd2e 100644 --- a/_pages/archive.md +++ b/_pages/archive.md @@ -10,7 +10,7 @@ title: Archive