WIP: streamline some stuff
All checks were successful
Build and deploy website / Build and Push Jekyll Site (push) Successful in 25s

This commit is contained in:
Radu C. Martin 2025-04-06 18:16:14 +02:00
parent 06e94159b1
commit 747c75dffc
10 changed files with 70 additions and 112 deletions

View file

@ -1,3 +0,0 @@
FROM nginx:1.27.4@sha256:124b44bfc9ccd1f3cedf4b592d4d1e8bddb78b51ec2ed5056c52d3692baebc19
COPY _site /usr/share/nginx/html

21
LICENSE
View file

@ -1,21 +0,0 @@
MIT License
Copyright (c) 2021 Cotes Chung
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View file

@ -1,43 +0,0 @@
# Chirpy Starter
[![Gem Version](https://img.shields.io/gem/v/jekyll-theme-chirpy)][gem] 
[![GitHub license](https://img.shields.io/github/license/cotes2020/chirpy-starter.svg?color=blue)][mit]
When installing the [**Chirpy**][chirpy] theme through [RubyGems.org][gem], Jekyll can only read files in the folders
`_data`, `_layouts`, `_includes`, `_sass` and `assets`, as well as a small part of options of the `_config.yml` file
from the theme's gem. If you have ever installed this theme gem, you can use the command
`bundle info --path jekyll-theme-chirpy` to locate these files.
The Jekyll team claims that this is to leave the ball in the users court, but this also results in users not being
able to enjoy the out-of-the-box experience when using feature-rich themes.
To fully use all the features of **Chirpy**, you need to copy the other critical files from the theme's gem to your
Jekyll site. The following is a list of targets:
```shell
.
├── _config.yml
├── _plugins
├── _tabs
└── index.html
```
To save you time, and also in case you lose some files while copying, we extract those files/configurations of the
latest version of the **Chirpy** theme and the [CD][CD] workflow to here, so that you can start writing in minutes.
## Usage
Check out the [theme's docs](https://github.com/cotes2020/jekyll-theme-chirpy/wiki).
## Contributing
This repository is automatically updated with new releases from the theme repository. If you encounter any issues or want to contribute to its improvement, please visit the [theme repository][chirpy] to provide feedback.
## License
This work is published under [MIT][mit] License.
[gem]: https://rubygems.org/gems/jekyll-theme-chirpy
[chirpy]: https://github.com/cotes2020/jekyll-theme-chirpy/
[CD]: https://en.wikipedia.org/wiki/Continuous_deployment
[mit]: https://github.com/cotes2020/chirpy-starter/blob/master/LICENSE

View file

@ -64,8 +64,8 @@ analytics:
goatcounter: goatcounter:
id: # fill in your GoatCounter ID id: # fill in your GoatCounter ID
umami: umami:
id: # fill in your Umami ID id: bce05e76-5cae-4688-a389-99bb87649d44
domain: # fill in your Umami domain domain: https://umami.martin.md
matomo: matomo:
id: # fill in your Matomo ID id: # fill in your Matomo ID
domain: # fill in your Matomo domain domain: # fill in your Matomo domain
@ -99,7 +99,7 @@ theme_mode: # [light | dark]
cdn: cdn:
# the avatar on sidebar, support local or CORS resources # the avatar on sidebar, support local or CORS resources
avatar: '/assets/avatar.png' avatar: '/assets/img/avatar.png'
# The URL of the site-wide social preview image used in SEO `og:image` meta tag. # The URL of the site-wide social preview image used in SEO `og:image` meta tag.
# It can be overridden by a customized `page.image` in front matter. # It can be overridden by a customized `page.image` in front matter.
@ -178,7 +178,7 @@ defaults:
type: posts type: posts
values: values:
layout: post layout: post
comments: true # Enable comments in posts. comments: false # Enable comments in posts.
toc: true # Display TOC column in posts. toc: true # Display TOC column in posts.
# DO NOT modify the following parameter unless you are confident enough # DO NOT modify the following parameter unless you are confident enough
# to update the code of all other post links in this project. # to update the code of all other post links in this project.

View file

@ -1,9 +1,13 @@
# The contact options. # The contact options.
# icons powered by <https://fontawesome.com/> # icons powered by <https://fontawesome.com/>
#
- type: github - type: github
icon: "fab fa-github" icon: "fab fa-github"
- type: forgejo
icon: 'fab fa-git-alt'
url: 'https://git.martin.md/radu'
# - type: email # - type: email
# icon: "fas fa-envelope" # icon: "fas fa-envelope"
# noblank: true # open link in current tab # noblank: true # open link in current tab

View file

@ -2,13 +2,13 @@
# Icons from <https://fontawesome.com/> # Icons from <https://fontawesome.com/>
platforms: platforms:
- type: Twitter # - type: Twitter
icon: "fa-brands fa-square-x-twitter" # icon: "fa-brands fa-square-x-twitter"
link: "https://twitter.com/intent/tweet?text=TITLE&url=URL" # link: "https://twitter.com/intent/tweet?text=TITLE&url=URL"
#
- type: Facebook # - type: Facebook
icon: "fab fa-facebook-square" # icon: "fab fa-facebook-square"
link: "https://www.facebook.com/sharer/sharer.php?title=TITLE&u=URL" # link: "https://www.facebook.com/sharer/sharer.php?title=TITLE&u=URL"
- type: Telegram - type: Telegram
icon: "fab fa-telegram" icon: "fab fa-telegram"
@ -24,23 +24,23 @@ platforms:
# icon: "fab fa-weibo" # icon: "fab fa-weibo"
# link: "https://service.weibo.com/share/share.php?title=TITLE&url=URL" # link: "https://service.weibo.com/share/share.php?title=TITLE&url=URL"
# #
# - type: Mastodon - type: Mastodon
# icon: "fa-brands fa-mastodon" icon: "fa-brands fa-mastodon"
# # See: https://github.com/justinribeiro/share-to-mastodon#properties # See: https://github.com/justinribeiro/share-to-mastodon#properties
# instances: instances:
# - label: mastodon.social - label: mastodon.social
# link: "https://mastodon.social/" link: "https://mastodon.social/"
# - label: mastodon.online - label: mastodon.online
# link: "https://mastodon.online/" link: "https://mastodon.online/"
# - label: fosstodon.org - label: fosstodon.org
# link: "https://fosstodon.org/" link: "https://fosstodon.org/"
# - label: photog.social - label: photog.social
# link: "https://photog.social/" link: "https://photog.social/"
#
# - type: Bluesky - type: Bluesky
# icon: "fa-brands fa-bluesky" icon: "fa-brands fa-bluesky"
# link: "https://bsky.app/intent/compose?text=TITLE%20URL" link: "https://bsky.app/intent/compose?text=TITLE%20URL"
#
# - type: Reddit # - type: Reddit
# icon: "fa-brands fa-square-reddit" # icon: "fa-brands fa-square-reddit"
# link: "https://www.reddit.com/submit?url=URL&title=TITLE" # link: "https://www.reddit.com/submit?url=URL&title=TITLE"

View file

@ -0,0 +1,35 @@
---
title: Hello, Friend
description: So I've decided to have a blog
date: 2025-04-06 12:33 +0200
categories: [Technology, Homelab]
tags: [selfhosted, blog, ci]
---
# First Heading
## Second heading
Some text
### Third heading
#### Fourth heading
How deep can we go?
#### Fourth heading V2
### Third heading V2
#### Fourth heading V3
`inline code`
```c#
private class Test() {
private int TestValue {get; set;}
}
```

View file

@ -6,3 +6,5 @@ order: 4
> Add Markdown syntax content to file `_tabs/about.md`{: .filepath } and it will show up on this page. > Add Markdown syntax content to file `_tabs/about.md`{: .filepath } and it will show up on this page.
{: .prompt-tip } {: .prompt-tip }
TODO: Some info about me

View file

Before

Width:  |  Height:  |  Size: 180 KiB

After

Width:  |  Height:  |  Size: 180 KiB

Before After
Before After

View file

@ -1,16 +0,0 @@
services:
blog:
image: git.martin.md/radu/blog:latest@sha256:7de45b21e33343b58cf29036c4f0818cb4e2e28325f1cb51ee05884f437c36fc
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.blog.rule=Host(`${DC_BLOG_HOSTNAME:-blog.martin.md}`)"
- "traefik.http.routers.blog.entrypoints=websecure"
networks:
- traefik
networks:
traefik:
external: true