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
{% if post.title and post.title != "" %}{{post.title}}{% else %}{{post.excerpt |strip_html}}{%endif%} - {% if post.date and post.date != "" %}{{ post.date | date: "%e %B %Y" }}{%endif%}
{% endif %} {% endfor %} diff --git a/_pages/getting-started.md b/_pages/getting-started_hidden_true.md similarity index 100% rename from _pages/getting-started.md rename to _pages/getting-started_hidden_true.md diff --git a/_pages/search.md b/_pages/search_hidden_true.md similarity index 100% rename from _pages/search.md rename to _pages/search_hidden_true.md diff --git a/_posts/2021-06-07-Crappy-blog-again.markdown b/_posts/2021-06-07-Crappy-blog-again.markdown index c3d0bee..c75cca5 100644 --- a/_posts/2021-06-07-Crappy-blog-again.markdown +++ b/_posts/2021-06-07-Crappy-blog-again.markdown @@ -3,7 +3,7 @@ layout: post title: "Crappy's Blog but this is Jekyll" date: 2021-06-07 12:00:00 +0000 last_modified_at: 2022-02-12 12:00:00 +0000 -visiblity: public +hidden: false categories: Blog --- Hello, This is Crappy's Blog as usual, but this time with Jekyll. diff --git a/_posts/2021-12-25-Moved-from-cloudflare.markdown b/_posts/2021-12-25-Moved-from-cloudflare.markdown index ac67a5f..23b06dd 100644 --- a/_posts/2021-12-25-Moved-from-cloudflare.markdown +++ b/_posts/2021-12-25-Moved-from-cloudflare.markdown @@ -3,7 +3,7 @@ layout: post title: "Crappy's Blog but moved from Cloudflare" date: 2021-12-25 12:00:00 +0000 last_modified_at: 2022-02-12 12:00:00 +0000 -visiblity: public +hidden: false categories: Blog --- Hello, this is Crappy’s Blog as usual. I wrote this blog to say that I have moved from Cloudflare to another DNS provider now. diff --git a/_posts/2022-03-30-Back-to-Self-Hosting.markdown b/_posts/2022-03-30-Back-to-Self-Hosting.markdown index 19cbf78..c1b45b3 100644 --- a/_posts/2022-03-30-Back-to-Self-Hosting.markdown +++ b/_posts/2022-03-30-Back-to-Self-Hosting.markdown @@ -2,7 +2,7 @@ layout: post title: "Back to Self Hosting" date: 2022-03-30 12:00:00 +0000 -visiblity: public +hidden: false categories: Blog --- Hello, I wrote this blog just to check if my script is working. Let's short this thing. I'm back to self-hosting now! diff --git a/_posts/2022-09-19-v4-crappy.markdown b/_posts/2022-09-19-v4-crappy.markdown index 7d8132d..02e7017 100644 --- a/_posts/2022-09-19-v4-crappy.markdown +++ b/_posts/2022-09-19-v4-crappy.markdown @@ -2,7 +2,7 @@ layout: post title: "Crappy's v4(or 3?) a new Project in a while" date: 2022-09-19 12:00:00 +0000 -visiblity: public +hidden: false categories: Blog --- diff --git a/_posts/2023-04-16-big-migration-2023.md b/_posts/2023-04-16-big-migration-2023_hidden_true.md similarity index 90% rename from _posts/2023-04-16-big-migration-2023.md rename to _posts/2023-04-16-big-migration-2023_hidden_true.md index c6a2486..fd6a39a 100644 --- a/_posts/2023-04-16-big-migration-2023.md +++ b/_posts/2023-04-16-big-migration-2023_hidden_true.md @@ -2,7 +2,7 @@ layout: post title: "farewall .one, I'm not gonna pay 15.99" date: 2023-04-16 12:00:00 +0000 -visiblity: hidden +hidden: true categories: Blog --- diff --git a/assets/images/deepfried-cropped.png b/assets/images/deepfried-cropped.png index 9d443b1..20fffb9 100644 Binary files a/assets/images/deepfried-cropped.png and b/assets/images/deepfried-cropped.png differ diff --git a/index.html b/index.html index aa51712..0f1904d 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,6 @@ layout: default {% if site.index_blog == true %}