overall : Blog Renovation

This commit is contained in:
unknown 2022-09-19 22:25:54 +07:00
parent af1a7fca04
commit 537c33a13d
Signed by: minoplhy
GPG Key ID: 90667A59A9908AEC
25 changed files with 250 additions and 110 deletions

View File

@ -84,4 +84,4 @@ DEPENDENCIES
wdm (~> 0.1.1) wdm (~> 0.1.1)
BUNDLED WITH BUNDLED WITH
2.3.4 2.3.22

View File

@ -18,15 +18,18 @@
# You can create any custom variable you would like, and they will be accessible # You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}. # in the templates via {{ site.myvariable }}.
title: Crappy's Blog title: 1w1.one
author: author:
name: Kale name:
description: This Blog is Crappy . description:
baseurl: "" baseurl: ""
url: "https://landing.1w1.one" url: "https://1w1.one"
show_excerpts: true # set to true to show excerpts on the homepage show_excerpts: true # set to true to show excerpts on the homepage
feed:
path: /blog/feed.xml
# Build settings # Build settings
#remote_theme: minima-dark #remote_theme: minima-dark
@ -60,16 +63,16 @@ plugins:
# If you want to link only specific pages in your header, uncomment # If you want to link only specific pages in your header, uncomment
# this and add the path to the pages in order as they should show up # this and add the path to the pages in order as they should show up
header_pages: header_pages:
- website.markdown - blog.markdown
- github.markdown - projects.markdown
- gitea.markdown - contact.markdown
- about.markdown - about.markdown
markdown: kramdown markdown: kramdown
timezone: America/Chicago timezone: America/Chicago
permalink: /posts/:slug permalink: /blog/:slug
exclude: exclude:
- README.md - README.md

View File

@ -0,0 +1,13 @@
{% comment %}
Placeholder to allow defining custom head, in principle, you can add anything here, e.g. favicons:
1. Head over to https://realfavicongenerator.net/ to add your own favicons.
2. Customize default _includes/custom-head.html in your source directory and insert the given code snippet.
{% endcomment %}
<center><code><a href="/blog/feed.xml">
<svg class="svg-icon orange">
<use xlink:href="/assets/minima-social-icons.svg#rss"></use>
</svg><span>Subscribe</span>
</a></code></center>

View File

@ -0,0 +1,8 @@
{% comment %}
Placeholder to allow defining custom head, in principle, you can add anything here, e.g. favicons:
1. Head over to https://realfavicongenerator.net/ to add your own favicons.
2. Customize default _includes/custom-head.html in your source directory and insert the given code snippet.
{% endcomment %}
<center><code class="footer-src-desc">SourceCode for this Site is Available on /; <a href="https://github.com/minoplhy/crappy-jekyll">GitHub</a> <a href="https://1w1.one/schemmegit/minoplhy/crappy-jekyll">Gitea</a></a></code></center>

View File

@ -5,13 +5,6 @@
<div class="footer-col-wrapper"> <div class="footer-col-wrapper">
<div class="footer-col"> <div class="footer-col">
<p class="feed-subscribe">
<a href="{{ 'feed.xml' | relative_url }}">
<svg class="svg-icon orange">
<use xlink:href="{{ 'assets/minima-social-icons.svg#rss' | relative_url }}"></use>
</svg><span>Subscribe</span>
</a>
</p>
{%- if site.author %} {%- if site.author %}
<ul class="contact-list"> <ul class="contact-list">
{% if site.author.name -%} {% if site.author.name -%}
@ -32,6 +25,14 @@
{%- include social.html -%} {%- include social.html -%}
</div> </div>
{% if page.layout == 'post' or page.layout == 'blogindex' %}
{%- include blog-footer.html -%}
{% endif %}
{%- include custom-footer.html -%}
</div> </div>
</footer> </footer>

56
_layouts/blogindex.html Normal file
View File

@ -0,0 +1,56 @@
---
layout: default
---
<div class="home">
{{ content }}
{% if site.paginate %}
{% assign posts = paginator.posts %}
{% else %}
{% assign posts = site.posts %}
{% endif %}
{%- if posts.size > 0 -%}
<div class="post-list">
{%- if page.list_title -%}
<h2 class="post-list-heading">{{ page.list_title }}</h2>
{%- endif -%}
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
{%- for post in posts -%}
<article>
<h2>
<a class="post-link" href="{{ post.url | relative_url }}">
{{ post.title | escape }}
</a>
</h2>
<h3><span class="post-meta">{{ post.date | date: date_format }}</span></h3>
{%- if site.show_excerpts -%}
<blockquote>{{ post.excerpt }}</blockquote>
{%- endif -%}
</article>
{%- endfor -%}
{% if site.paginate %}
<div class="pager">
<ul class="pagination">
{%- if paginator.previous_page %}
<li><a href="{{ paginator.previous_page_path | relative_url }}" class="previous-page">{{ paginator.previous_page }}</a></li>
{%- else %}
<li><div class="pager-edge"></div></li>
{%- endif %}
<li><div class="current-page">{{ paginator.page }}</div></li>
{%- if paginator.next_page %}
<li><a href="{{ paginator.next_page_path | relative_url }}" class="next-page">{{ paginator.next_page }}</a></li>
{%- else %}
<li><div class="pager-edge"></div></li>
{%- endif %}
</ul>
</div>
{%- endif %}
{%- endif -%}
</div>

View File

@ -14,7 +14,6 @@
</main> </main>
{%- include footer.html -%} {%- include footer.html -%}
</body> </body>
</html> </html>

View File

@ -15,44 +15,4 @@ layout: default
{% else %} {% else %}
{% assign posts = site.posts %} {% assign posts = site.posts %}
{% endif %} {% endif %}
{%- if posts.size > 0 -%}
<div class="post-list">
{%- if page.list_title -%}
<h2 class="post-list-heading">{{ page.list_title }}</h2>
{%- endif -%}
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
{%- for post in posts -%}
<article>
<h2>
<a class="post-link" href="{{ post.url | relative_url }}">
{{ post.title | escape }}
</a>
</h2>
<h3><span class="post-meta">{{ post.date | date: date_format }}</span></h3>
{%- if site.show_excerpts -%}
<blockquote>{{ post.excerpt }}</blockquote>
{%- endif -%}
</article>
{%- endfor -%}
{% if site.paginate %}
<div class="pager">
<ul class="pagination">
{%- if paginator.previous_page %}
<li><a href="{{ paginator.previous_page_path | relative_url }}" class="previous-page">{{ paginator.previous_page }}</a></li>
{%- else %}
<li><div class="pager-edge"></div></li>
{%- endif %}
<li><div class="current-page">{{ paginator.page }}</div></li>
{%- if paginator.next_page %}
<li><a href="{{ paginator.next_page_path | relative_url }}" class="next-page">{{ paginator.next_page }}</a></li>
{%- else %}
<li><div class="pager-edge"></div></li>
{%- endif %}
</ul>
</div>
{%- endif %}
{%- endif -%}
</div> </div>

View File

@ -2,9 +2,7 @@
layout: default layout: default
--- ---
<article class="post"> <article class="post">
<h1 class="home-title-text">{{ page.title | escape }}</h1>
<header class="post-header">
<h1 class="post-title">{{ page.title | escape }}</h1>
</header> </header>
<div class="post-content"> <div class="post-content">

View File

@ -42,4 +42,6 @@ layout: default
{%- endif -%} {%- endif -%}
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a> <a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
</article> </article>

View File

@ -0,0 +1,25 @@
---
layout: post
title: "Crappy's v4(or 3?) a new Project in a while"
date: 2022-09-10 12:00:00 +0000
categories: Blog
---
*Please Change Publish Date when push to git*
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

@ -177,6 +177,7 @@ code {
font-size: 0.9375em; font-size: 0.9375em;
border: 1px solid $border-color-01; border: 1px solid $border-color-01;
border-radius: 3px; border-radius: 3px;
color: $code-color;
background-color: $code-background-color; background-color: $code-background-color;
} }

View File

@ -1,20 +1,21 @@
@charset "utf-8"; @charset "utf-8";
$brand-color: #fff700 !default; $brand-color: #fff93f !default;
$brand-color-light: lighten($brand-color, 5%) !default; $brand-color-light: lighten($brand-color, 5%) !default;
$brand-color-dark: darken($brand-color, 35%) !default; $brand-color-dark: darken($brand-color, 35%) !default;
$site-title-color: $brand-color-light !default; $site-title-color: $brand-color-light !default;
$main-color: rgb(96, 239, 255) !default; $main-color: rgb(96, 239, 255) !default;
$text-color: #a153d2 !default; $text-color: #f1e271 !default;
$head-color: #da180a !default; $head-color: #ff4e4e !default;
$subhead-color: rgba(4, 240, 91, 0.995) !default; $subhead-color: rgba(71, 246, 179, 0.995) !default;
$bold-color: rgb(2, 255, 19) !default; $bold-color: rgb(136, 212, 225) !default;
$background-color: #0e0e0e !default; $background-color: #1d1d1d !default;
$code-background-color: #483908 !default; $code-color: #f5eb9c !default;
$highlight: #8302e5 !default; $code-background-color: #5a4946 !default;
$highlight-background: #f7cc7b !default; $highlight: #aee0dc !default;
$highlight-background: #02100f !default;
$link-base-color: #1eea92 !default; $link-base-color: #1eea92 !default;
$link-visited-color: rgb(137, 49, 49) !default; $link-visited-color: rgb(137, 49, 49) !default;

View File

@ -4,5 +4,8 @@ title: About
permalink: /about permalink: /about
--- ---
I am Kale . and this is Crappy Blog Version 3 ### ㆆ ͜ʖ ͡ㆆ
This site is shit ya no? please don't give a shit #### Just a Hobbyist, recently i'm in with server Hosting and some personal Project, so I registered 1w1.one to serve my personal project just to me.
## -> Why 1w1.one?
#### - Short, Memorable, Unique and cheap(ofc!)

View File

@ -8,3 +8,7 @@
:root { :root {
--content-width: 1180px; --content-width: 1180px;
} }
.home-title-text { font-weight: 600; font-size: 60px; }
.home-title-desc { font-weight: 200; font-size: 20px;}
.footer-src-desc { color: rgb(202, 244, 111)}

14
assets/css/rainbow.css Normal file
View File

@ -0,0 +1,14 @@
.rainbow-text {
background-image: repeating-linear-gradient(45deg, violet, indigo, blue, green, yellow, orange, red, violet);
text-align: center;
background-size: 800% 800%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: rainbow 10s ease infinite;
}
@keyframes rainbow {
0%{background-position:0% 50%}
50%{background-position:100% 25%}
100%{background-position:0% 50%}
}

13
assets/hej.txt Normal file
View File

@ -0,0 +1,13 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mDMEYTSBahYJKwYBBAHaRw8BAQdALVJnElewTIwuEt9XKICEwtPPZWOtG4AZyc2U
8O+FMIW0IXcxdyAxdzEgPGhlakBhc3BvYmxvdXJpYi4xdzEub25lPoiQBBMWCAA4
FiEEkj3/K5m3XXMcVb90kGZ6WamQiuwFAmE0gWoCGyMFCwkIBwIGFQoJCAsCBBYC
AwECHgECF4AACgkQkGZ6WamQi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END PGP PUBLIC KEY BLOCK-----

8
blog.markdown Normal file
View File

@ -0,0 +1,8 @@
---
# Feel free to add content and custom Front Matter to this file.
# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults
layout: blogindex
title: Blog
permalink: /blog
---

14
contact.markdown Normal file
View File

@ -0,0 +1,14 @@
---
layout: page
title: Contact
permalink: /contact/
---
#### <b>Email</b> : `hej [at] aspoblourib.1w1.one` (usually response within 3-7 days)
- - ###### PGP Key : <code><a href="/assets/hej.txt">923DFF2B99B75D731C55BF7490667A59A9908AEC</a></code> <code>via <a href="https://keys.openpgp.org/vks/v1/by-fingerprint/923DFF2B99B75D731C55BF7490667A59A9908AEC">openpgp</a></code>
#### <b>Email</b> : `kraneberru [at] disroot.org` (usually response within 14 days)
- - ###### PGP Key : <code><a href="/assets/kraneberru.txt">06DA70F743504ECC7B657FC3297B1E9C8850D1C9</a></code> <code>via <a href="https://keys.openpgp.org/vks/v1/by-fingerprint/06DA70F743504ECC7B657FC3297B1E9C8850D1C9">openpgp</a></code>
#### <b>Matrix</b> : <code><a href="https://matrix.to/#/@slitcloke:matrix.org">@slitcloke:matrix.org</a></code> (response within 1 year!)

View File

@ -1,12 +0,0 @@
---
layout: page
title: Gitea
permalink: /Gitea
---
You're redirecting
<html>
<head>
<meta http-equiv="refresh" content="0; url='https://schemmegit.1w1.one/minoplhy/crappy-jekyll'" />
</head>
</html>

View File

@ -1,12 +0,0 @@
---
layout: page
title: GitHub
permalink: /GitHub
---
You're redirecting
<html>
<head>
<meta http-equiv="refresh" content="0; url='https://github.com/minoplhy/crappy-jekyll'" />
</head>
</html>

View File

@ -1,6 +1,19 @@
--- ---
# Feel free to add content and custom Front Matter to this file. # Feel free to add content and custom Front Matter to this file.
# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults # To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults
layout : home layout : home
--- ---
<!--- <link rel="stylesheet" type="text/css" href="assets/css/rainbow.css" media="screen" />
Please keep this secret!! --->
<h1 class="home-title-text">1w1.one</h1>
<h5 class="home-title-desc">A Hobbyist with a huge point of failure that is not able to fix, due to financial problems.</h5>
<br>
<h1 id="git-profile"> Find me on Git<b style="color:green;">{$INSERT}</b>!</h1>
- #### <a href="https://1w1.one/schemmegit/minoplhy">1w1.one/schemmegit</a>
- #### <a href="https://github.com/minoplhy">GitHub.com</a>
- #### <a href="https://git.disroot.org/minoplhy">git.disroot.org</a>
- #### <a href="https://notabug.org/lottanorta">notabug.org</a>

10
projects.markdown Normal file
View File

@ -0,0 +1,10 @@
---
# Feel free to add content and custom Front Matter to this file.
# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults
layout : page
title: Projects
permalink: /projects
---
There isn't any really project right now, Please Explore my <a href="/#git-profile">Git<b style="color:green;">{$INSERT}</b></a> Profile.
and see if there's anything interesting!

View File

@ -1,12 +0,0 @@
---
layout: page
title: Website
permalink: /website
---
You're redirecting
<html>
<head>
<meta http-equiv="refresh" content="0; url='https://landing.1w1.one'" />
</head>
</html>