crappy-reverie : init

This commit is contained in:
minoplhy 2023-04-18 17:18:15 +07:00
parent 0a46fb4b3c
commit dbb3d9b341
Signed by: minoplhy
GPG Key ID: 41D406044E2434BF
41 changed files with 7775 additions and 312 deletions

View File

@ -1 +1 @@
2.4.3
4.3.2

2
404.md
View File

@ -6,4 +6,4 @@ permalink: /404
Sorry, we can't find that page that you're looking for. You can try again by going [back to the homepage]({{ site.baseurl }}/).
[<img src="{{ site.baseurl }}/images/404.jpg" alt="Constructocat by https://github.com/jasoncostello" style="width: 400px;"/>]({{ site.baseurl }}/)
[<img src="{{ site.baseurl }}/assets/images/404.png" alt="Constructocat by https://github.com/jasoncostello" style="width: 400px;"/>]({{ site.baseurl }}/)

View File

@ -1,6 +1,6 @@
<div align="center">
<br>
<img src="/images/reverie-text.png" alt="Reverie" width="200"/>
<img src="/assets/images/reverie-text.png" alt="Reverie" width="200"/>
<br>
<p align="center">
<i>Support my work via <a href="https://paypal.me/AmitMerchant">Paypal</a></i>
@ -11,17 +11,27 @@
---
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
- 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.
- More expand friendly navbar.
- add gitea icon svg.
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.
> [Theme demo](https://reverie.pages.dev/)
This is a plug-and-play Jekyll theme best suited to use on [GitHub Pages](https://pages.github.com) (or [Cloudflare Pages](https://pages.cloudflare.com/) if you want to have your repository private) without even setting up a local environment.
![](/images/reverie-demo.png)
![](/assets/images/reverie-demo.png)
| Responsiveness | Search | Categories |
|---------------------|----------------------|----------------------|
|![Responsiveness](/images/mobile-demo.png) | ![search](/images/search.png) | ![categories](/images/categories.png) |
|![Responsiveness](/assets/images/mobile-demo.png) | ![search](/assets/images/search.png) | ![categories](/assets/images/categories.png) |
# Table of Contents
- [Features overview](#features-overview)

File diff suppressed because it is too large Load Diff

View File

@ -13,3 +13,4 @@
{% if site.footer-links.googleplus %}<a href="https://plus.google.com/{{ site.footer-links.googleplus }}" target="_blank"><i class="svg-icon googleplus"></i></a>{% endif %}
{% if site.footer-links.playconsole %}<a href="https://play.google.com/store/apps/dev?id={{ site.footer-links.playconsole }}" target="_blank"><i class="svg-icon playconsole"></i></a>{% endif %}
{% if site.footer-links.mastodon %}<a rel="me" href="https://{{ site.footer-links.mastodon }}" target="_blank"><i class="svg-icon mastodon"></i></a>{% endif %}
{% if site.footer-links.gitea %}<a href="https://{{ site.footer-links.gitea }}" target="_blank"><i class="svg-icon gitea"></i></a>{% endif %}

View File

@ -3,14 +3,16 @@
<head>
<title>{% if page.title %}{{ page.title }} {% endif %}{{ site.name }} {{ site.description }}</title>
{% seo title=false %}
{%- assign page_paths = site.header_pages | default: default_paths -%}
{% include meta.html %}
<link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/assets/style.css" />
<link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/assets/css/style.css" />
<link rel="alternate" type="application/rss+xml" title="{{ site.name }} - {{ site.description }}" href="{{ site.baseurl }}/feed.xml" />
<link rel="canonical" href="{{ site.url }}{{ page.url }}" />
<script src="{{ site.baseurl }}/assets/js/darkreader.min.js"></script>
<script src="{{ site.baseurl }}/assets/js/lightning.js"></script>
<meta name="theme-color" content="#000000">
<link rel="icon" type="image/png" sizes="32x32" href="{{ site.baseurl }}/images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="32x32" href="{{ site.baseurl }}/assets/images/favicon-32x32.png">
{% include analytics_head.html %}
</head>
@ -28,11 +30,15 @@
</div>
<nav>
<a href="{{ site.baseurl }}/">Home</a>
<a href="{{ site.baseurl }}/getting-started">Getting Started</a>
<a href="{{ site.baseurl }}/search">Search</a>
<a href="{{ site.baseurl }}/about">About</a>
<a href="{{ site.baseurl }}/archive">Archive</a>
{%- for path in page_paths -%}
{%- assign my_page = site.pages | where: "path", path | first -%}
{%- if my_page.title -%}
<a href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
{%- endif -%}
{%- endfor -%}
<a id="dark-mode-button" onclick="darkmode()" >
<span>🌙</span>
</a>
</nav>
</header>
</div>

View File

@ -6,7 +6,7 @@ layout: default
<h1>{{ page.title }}</h1>
<div>
<p class="author_title">{{site.author}} · {{ page.date | date: "%B %e, %Y" }}</p>
<p class="author_title">{% if site.author %} {{site.author}} · {% endif %}{{ page.date | date: "%B %e, %Y" }}</p>
{% if page.last_modified_at %}
<p class="author_title" datetime="{{ page.last_modified_at | date_to_xmlschema }}">(Updated: {{ page.last_modified_at | date: "%b %-d, %Y" }})</p>
{% endif %}

View File

@ -1,32 +1,19 @@
---
layout: page
permalink: /archive/
title: Posts Archive
title: Archive
---
<div id="archives">
<section id="archive">
<ul class="date-order">
<h3>Most Recent Posts</h3>
{%for post in site.posts %}
{% unless post.next %}
<ul class="this">
{% else %}
{% capture month %}{{ post.date | date: '%B %Y' }}{% endcapture %}
{% capture nmonth %}{{ post.next.date | date: '%B %Y' }}{% endcapture %}
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
{% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %}
{% if year != nyear %}
</ul>
<h2 style="text-align:left;">{{ post.date | date: '%Y' }}</h2>
<ul class="past">
{% endif %}
{% if month != nmonth %}
<h3 style="text-align:left;">{{ post.date | date: '%B %Y' }}</h3>
{% endif %}
{% endunless %}
{%for post in site.posts %}
{% if post.visiblity == "public" %}
<p><b><a href="{{ site.baseurl }}{{ post.url }}">{% if post.title and post.title != "" %}{{post.title}}{% else %}{{post.excerpt |strip_html}}{%endif%}</a></b> - {% if post.date and post.date != "" %}{{ post.date | date: "%e %B %Y" }}{%endif%}</p>
{% endfor %}
{% endif %}
{% endfor %}
</ul>
<h3>Oldest Posts</h3>
</section>

7
_pages/projects.md Normal file
View File

@ -0,0 +1,7 @@
---
layout: page
title: Projects
permalink: /projects/
---
`placeholder`

View File

@ -9,7 +9,7 @@ permalink: /search/
<ul id="results-container"></ul>
</div>
<script src="{{ site.baseurl }}/assets/simple-jekyll-search.min.js" type="text/javascript"></script>
<script src="{{ site.baseurl }}/assets/js/simple-jekyll-search.min.js" type="text/javascript"></script>
<script>
SimpleJekyllSearch({

View File

@ -1,87 +0,0 @@
---
layout: post
title: Introducing Reverie - A ridiculously elegant Jekyll theme
categories: [Miscellaneous, Jekyll]
---
[Reverie](https://github.com/amitmerchant1990/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.
This is a plug-and-play Jekyll theme which you can use on GitHub Pages without even setting up a local environment.
![](/images/reverie-demo.png)
## Features overview
- 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
<div style="text-align: center;">
<script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?serve=CE7D6KJY&placement=wwwamitmerchantcom" id="_carbonads_js"></script>
</div>
## Using Reverie on GitHub Pages
### Step 1) Fork Reverie to your User Repository
Fork [this repository](https://github.com/amitmerchant1990/reverie), then rename the repository to `yourgithubusername.github.io`.
Alternatively, you can use [Use this template](https://github.com/amitmerchant1990/reverie/generate) button if you want to create a repository with a clean commit history which will use Reverie as a template.
Your Jekyll blog will often be viewable immediately at <https://yourgithubusername.github.io> (if it's not, you can often force it to build by completing step 2)
### Step 2) Customize and view your site
Enter your site name, description, avatar and many other options by editing the `_config.yml` file. You can easily turn on Google Analytics tracking, Disqus commenting and social icons here.
Making a change to `_config.yml` (or any file in your repository) will force GitHub Pages to rebuild your site with jekyll. Your rebuilt site will be viewable a few seconds later at <https://yourgithubusername.github.io> - if not, give it ten minutes as GitHub suggests and it'll appear soon.
### Step 3) Publish your first blog post
Create a new file called `/_posts/2019-2-13-Hello-World.md` to publish your first blog post. That's all you need to do to publish your first blog post! This [Markdown Cheatsheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) might come in handy while writing the posts.
> You can add additional posts in the browser on GitHub.com too! Just hit the <kbd>Create new file</kbd> button in `/_posts/` to create new content. Just make sure to include the [front-matter](http://jekyllrb.com/docs/frontmatter/) block at the top of each new blog post and make sure the post's filename is in this format: year-month-day-title.md
## Using Categories in Reverie
You can categorize your content based on `categories` in Reverie. For this, you just need to add `categories` in front matter like below:
For adding single category:
```md
categories: JavaScript
```
For adding multiple categories:
```md
categories: [PHP, Laravel]
```
The contegorized content can be shown over this URL: <https://yourgithubusername.github.io/categories/>
## RSS
The generated [RSS feed](https://en.wikipedia.org/wiki/RSS) of your blog can be found at <https://yourgithubusername.github.io/feed>. You can see the example RSS feed over [here](https://www.amitmerchant.com/reverie/feed).
## Sitemap
The generated sitemap of your blog can be found at <https://yourgithubusername.github.io/sitemap>. You can see the example sitemap feed over [here](https://www.amitmerchant.com/reverie/sitemap).
## License
MIT

View File

@ -1,6 +0,0 @@
---
layout: post
title: ""
categories: Miscellaneous
---
Sometimes, your post just stands for itself and doesn't need a title. And that's fine, too!

View File

@ -1,14 +0,0 @@
---
layout: post
title: Pullquotes
categories: [HTML,Code]
excerpt: In graphic design, a pull quote (also known as a lift-out pull quote) is a key phrase, quotation, or excerpt that has been pulled from an article and used as a page layout graphic element, serving to entice readers into the article or to highlight a key topic.
---
In graphic design, a pull quote (also known as a lift-out pull quote) is a key phrase, quotation, or excerpt that has been pulled from an article and used as a page layout graphic element, serving to entice readers into the article or to highlight a key topic. {% include pullquote.html quote="It is typically placed in a larger or distinctive typeface and on the same page." %} Pull quotes are often used in magazine and newspaper articles, annual reports, and brochures, as well as on the web. They can add visual interest to text-heavy pages with few images or illustrations.
Placement of a pull quote on a page may be defined in a publication's or website's style guide. Such a typographic device may or may not be aligned with a column on the page. Some designers, for example, choose not to align the quote. In that case, the quotation cuts into two or more columns, as in the example shown. Because the pull quote invites the reader to read about the highlighted material, the pull quote should appear before the text it cites and, generally, fairly close to it.
Pull quotes need not be a verbatim copy of the text being quoted; depending on a publication's house style, pull quotes may be abbreviated for space or paraphrased for clarity, with or without indication.
A disadvantage of pull quotes as a design element is that they can disrupt the reading process of readers invested in reading the text sequentially by drawing attention to ghost fragments out of context. At the other extreme, when pull quotes are used to break up what would otherwise be a formless wall of text, pull quote can serve as visual landmarks to help the reader maintain a sense of sequence and place.

View File

@ -1,11 +0,0 @@
---
layout: post
title: Some articles are just so long they deserve a really long title to see if things will break well
categories: Miscellaneous
---
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt. Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit. Proin convallis mi ac felis pharetra aliquam. Curabitur dignissim accumsan rutrum. In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt. Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit. Proin convallis mi ac felis pharetra aliquam. Curabitur dignissim accumsan rutrum. In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt. Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit. Proin convallis mi ac felis pharetra aliquam. Curabitur dignissim accumsan rutrum. In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est.

View File

@ -1,95 +0,0 @@
---
layout: post
title: This post demonstrates post content styles
categories: Miscellaneous
---
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt. Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est.
## Some great heading (h2)
Proin convallis mi ac felis pharetra aliquam. Curabitur dignissim accumsan rutrum. In arcu magna, aliquet vel pretium et, molestie et arcu.
Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est.
## Another great heading (h2)
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt. Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit.
### Some great subheading (h3)
Proin convallis mi ac felis pharetra aliquam. Curabitur dignissim accumsan rutrum. In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum.
Phasellus et hendrerit mauris. Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc.
### Some great subheading (h3)
Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est.
> This quote will change your life. It will reveal the secrets of the universe, and all the wonders of humanity. Don't misuse it.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt.
### Some great subheading (h3)
Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit. Proin convallis mi ac felis pharetra aliquam. Curabitur dignissim accumsan rutrum.
```html
<html>
<head>
</head>
<body>
<p>Hello, World!</p>
</body>
</html>
```
In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris.
#### You might want a sub-subheading (h4)
In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris.
In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris.
#### But it's probably overkill (h4)
In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris.
### Oh hai, an unordered list!!
In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris.
- First item, yo
- Second item, dawg
- Third item, what what?!
- Fourth item, fo sheezy my neezy
### Oh hai, an ordered list!!
In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris.
1. First item, yo
2. Second item, dawg
3. Third item, what what?!
4. Fourth item, fo sheezy my neezy
## Headings are cool! (h2)
Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est.
Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est.
Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc.
### Tables
|Title 1 | Title 2 | Title 3 | Title 4 |
|--------------------- | --------------------- | --------------------- | ---------------------|
|lorem | lorem ipsum | lorem ipsum dolor | lorem ipsum dolor sit|
|lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit|
|lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit|
|lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit|

View File

@ -1,7 +0,0 @@
---
layout: post
title: Some articles are just so short that we've to make the footer stick
categories: Miscellaneous
---
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

View File

@ -1,42 +0,0 @@
---
layout: post
title: Code snippets in a blog post
categories: [HTML,Code]
---
This post demonstrate the use of code snippets in the theme. The code snippets are powered by [Pygments](http://pygments.org/) and the code theme that is been used in Reverie is called [Draula](https://draculatheme.com/).
This is a raw snippet:
```
hello world
123
This is a text snippet
```
This is a PHP snippet:
```php
<?php
echo 'Hello, World!';
?>
```
This is a JavaScript snippet:
```js
const add = (a, b) => a + b
const minus = (a, b) => a - b
console.log(add(100,200)) // 300
console.log(minus(100,200)) // -100
```
This is a Python snippet:
```python
def say_hello():
print("hello world!")
say_hello() // "hello world!"
```

View File

@ -0,0 +1,19 @@
---
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
categories: Blog
---
Hello, This is Crappy's Blog as usual, but this time with Jekyll.
But this time with Jekyll, these ideas came from "subpath," which writefreely had a problem with these things.
I know this will be a bit silent, but I'll keep this blog updated as much as possible.
Not Promises.LOL
##### And as usual, the testing image below vv
![Test wowowowowowo](/assets/blog/mouse_bottr.png)

View File

@ -0,0 +1,25 @@
---
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
categories: Blog
---
Hello, this is Crappys Blog as usual. I wrote this blog to say that I have moved from Cloudflare to another DNS provider now.
### Why?
Mainly, useless for my position and part of my **de-cloudflare** project
### New Provider
1984.is FreeDNS,
My only criteria is support for DNSSEC.
Unfortunately, my registrar doesn't support it yet and I've had problems adding multiple MX Records to the same domain in desec so I moved to 1984 FreeDNS. This decision might be forever or until i find another great provider.
### Moving of Landing Page Builder
Actually, I moved from Cloudflare Pages to Surge. But, they don't yet support IPV6 and their certificate provision seems a bit confusing, so I moved to Netlify instead.

View File

@ -0,0 +1,15 @@
---
layout: post
title: "Back to Self Hosting"
date: 2022-03-30 12:00:00 +0000
visiblity: public
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!
<br>since VM collapsed on August, 2021, I moved a lot of service to Free Hosting like Netlify, GitHub Pages and now I'm back to this thing.<br>
This time, I think things will be more stable from now on and possibly not face the same fate as the old Blog and Gitea Server.
<br><br><br><br><br><br>
I Hope

View File

@ -0,0 +1,25 @@
---
layout: post
title: "Crappy's v4(or 3?) a new Project in a while"
date: 2022-09-19 12:00:00 +0000
visiblity: public
categories: Blog
---
From the first Crappy Blog with WriteFreely, Ghost and ends here with Simple Jekyll.
And I'm kinda Proud to say that this refined Jekyll Page will be the v4 Version of Jekyll.
### Why v4 still being Jekyll?
Jekyll consumes low resources, compared to WriteFreely Drupal and Ghost.
And the important reasons Jekyll is kinda challenge to setup for a new comer like me.
### Point of marking refined Jekyll Page as v4
Point of refining Jekyll Page because I want to merge most of my Public Access things (Homepage, Blog, Gitea) to the same subdomain (1w1.one) and using subpath to all these things. So I rewrite the Homepage and try to merge them with Blog.
### why refine?
speak directly, Crappy's Blog Jekyll code is fucked up, since Jun 2021 and being like that until now!
### Why need Blog when you write a useless Blog once a Year?
it's a trend.

View File

@ -0,0 +1,9 @@
---
layout: post
title: "farewall .one, I'm not gonna pay 15.99"
date: 2023-04-16 12:00:00 +0000
visiblity: hidden
categories: Blog
---
I don't want to say weeby word here. But sayonara 1w1.one.

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
/* BASE RULES */
/**************/
@import url('https://fonts.googleapis.com/css?family=Roboto');
//@import url('https://fonts.bunny.net/css?family=roboto');
html {
font-size: 100%;

BIN
assets/images/404.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

View File

Before

Width:  |  Height:  |  Size: 195 KiB

After

Width:  |  Height:  |  Size: 195 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 505 KiB

After

Width:  |  Height:  |  Size: 505 KiB

View File

Before

Width:  |  Height:  |  Size: 216 KiB

After

Width:  |  Height:  |  Size: 216 KiB

View File

Before

Width:  |  Height:  |  Size: 690 KiB

After

Width:  |  Height:  |  Size: 690 KiB

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

View File

Before

Width:  |  Height:  |  Size: 135 KiB

After

Width:  |  Height:  |  Size: 135 KiB

7575
assets/js/darkreader.js Normal file

File diff suppressed because it is too large Load Diff

8
assets/js/darkreader.min.js vendored Normal file

File diff suppressed because one or more lines are too long

28
assets/js/lightning.js Normal file
View File

@ -0,0 +1,28 @@
if (localStorage.getItem('dark-mode') === 'true') {
darkmode_enable()
}
function darkmode() {
if (localStorage.getItem('dark-mode') === 'false') {
darkmode_enable();
} else if (localStorage.getItem('dark-mode') === null) {
darkmode_enable();
} else {
darkmode_disable();
}
}
function darkmode_enable() {
DarkReader.setFetchMethod(window.fetch)
DarkReader.enable({
brightness: 100,
contrast: 90,
sepia: 10
});
localStorage.setItem('dark-mode', 'true');
}
function darkmode_disable() {
DarkReader.disable();
localStorage.setItem('dark-mode', 'false');
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

View File

@ -4,6 +4,7 @@ layout: default
<div class="posts">
{% for post in paginator.posts %}
{% if post.visiblity == "public" %}
<article class="post">
<a href="{{ site.baseurl }}{{ post.url }}">
<h1>{{ post.title }}</h1>
@ -18,6 +19,7 @@ layout: default
<a href="{{ site.baseurl }}{{ post.url }}" class="read-more">Read More</a>
</article>
{% endif %}
{% endfor %}
<!-- pagination -->