crappy-reverie : quick features

This commit is contained in:
minoplhy 2023-04-18 20:36:55 +07:00
parent dbb3d9b341
commit 7aeeaf4279
Signed by: minoplhy
GPG Key ID: 41D406044E2434BF
12 changed files with 17 additions and 31 deletions

View File

@ -13,12 +13,14 @@
Reverie-Crappy is a fork of [amitmerchant1990/reverie](https://github.com/amitmerchant1990/reverie) with some adjustment. 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 : 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 preferance) with DarkReader.
- Remove . when post author doesn't present - Remove . when post author doesn't present.
- change file strcture - 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.
- More expand friendly navbar. - More expand friendly navbar.
- add gitea icon svg. - add gitea icon svg.
- choice to disable/enable Twitter share on buttom.
- choice to enable/disable blog on first page.
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. 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.

View File

@ -12,7 +12,7 @@ author:
description: Don't know what to describe description: Don't know what to describe
# URL of your avatar or profile pic (you could use your GitHub profile pic) # URL of your avatar or profile pic (you could use your GitHub profile pic)
avatar: /assets/images/reverie.png avatar: /assets/images/deepfried-cropped.png
# #
# Flags below are optional # Flags below are optional
@ -58,6 +58,10 @@ enforce_ssl: https://waii.ch
# then add in the baseurl here, like this: "/repository-name" # then add in the baseurl here, like this: "/repository-name"
baseurl: "" baseurl: ""
index_blog: true
twitter_blog_share: false
# #
# !! You don't need to change any of the configuration flags below !! # !! You don't need to change any of the configuration flags below !!
# #
@ -90,7 +94,7 @@ plugins:
include: ['_pages'] include: ['_pages']
paginate: 6 paginate: 3
paginate_path: /page:num/ paginate_path: /page:num/
header_pages: header_pages:

View File

@ -12,7 +12,7 @@
<script src="{{ site.baseurl }}/assets/js/darkreader.min.js"></script> <script src="{{ site.baseurl }}/assets/js/darkreader.min.js"></script>
<script src="{{ site.baseurl }}/assets/js/lightning.js"></script> <script src="{{ site.baseurl }}/assets/js/lightning.js"></script>
<link rel="icon" type="image/png" sizes="32x32" href="{{ site.baseurl }}/assets/images/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="32x32" href="{{ site.baseurl }}/assets/images/deepfried-cropped.png">
{% include analytics_head.html %} {% include analytics_head.html %}
</head> </head>

View File

@ -27,9 +27,11 @@ layout: default
{{ content }} {{ content }}
</div> </div>
{% if site.twitter_blog_share == true %}
<div> <div>
<p><span class="share-box">Share:</span> <a href="http://twitter.com/share?text={{ page.title }}&url={{site.url}}{{page.url}}" target="_blank">Twitter</a>, <a href="https://www.facebook.com/sharer.php?u={{site.url}}{{page.url}}" target="_blank">Facebook</a></p> <p><span class="share-box">Share:</span> <a href="http://twitter.com/share?text={{ page.title }}&url={{site.url}}{{page.url}}" target="_blank">Twitter</a>, <a href="https://www.facebook.com/sharer.php?u={{site.url}}{{page.url}}" target="_blank">Facebook</a></p>
</div> </div>
{% endif %}
<!--<div class="date"> <!--<div class="date">
Written on {{ page.date | date: "%B %e, %Y" }} Written on {{ page.date | date: "%B %e, %Y" }}

View File

@ -3,27 +3,3 @@ layout: page
title: About title: About
permalink: /about/ permalink: /about/
--- ---
[Reverie](https://github.com/amitmerchant1990/reverie) is a Jekyll 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](https://www.amitmerchant.com).
This is a plug-and-play Jekyll theme which you can use on GitHub Pages without even setting up a local environment.
## Features
- Command-line free fork-first workflow, using GitHub.com to create, customize and post to your blog
- Fully responsive and mobile optimized base theme
- Sass/Coffeescript support using Jekyll 2.0
- Free hosting on your GitHub Pages user site
- All the SEO goodies comes in-built
- Markdown blogging
- Syntax highlighting using Pygments
- [Dracula syntax theme](https://draculatheme.com/) included
- Disqus commenting
- Google Analytics integration
- Fuzzy search across blog posts
- Pagination of posts works out-of-the-box.
- Categorize posts out-of-the box
- RSS Feed
- In-built sitemap
Learn more about it [here](https://github.com/amitmerchant1990/reverie) on how to get started.

View File

@ -16,4 +16,4 @@ Not Promises.LOL
##### And as usual, the testing image below vv ##### And as usual, the testing image below vv
![Test wowowowowowo](/assets/blog/mouse_bottr.png) ![Test wowowowowowo](/assets/images/mouse_bottr.png)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

BIN
assets/images/deepfried.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 736 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

View File

@ -2,6 +2,7 @@
layout: default layout: default
--- ---
{% if site.index_blog == true %}
<div class="posts"> <div class="posts">
{% for post in paginator.posts %} {% for post in paginator.posts %}
{% if post.visiblity == "public" %} {% if post.visiblity == "public" %}
@ -49,3 +50,4 @@ layout: default
</div> </div>
{% endif %} {% endif %}
</div> </div>
{% endif %}