WIP: streamline some stuff
All checks were successful
Build and deploy website / Build and Push Jekyll Site (push) Successful in 25s
All checks were successful
Build and deploy website / Build and Push Jekyll Site (push) Successful in 25s
This commit is contained in:
parent
06e94159b1
commit
747c75dffc
10 changed files with 70 additions and 112 deletions
|
@ -1,3 +0,0 @@
|
|||
FROM nginx:1.27.4@sha256:124b44bfc9ccd1f3cedf4b592d4d1e8bddb78b51ec2ed5056c52d3692baebc19
|
||||
|
||||
COPY _site /usr/share/nginx/html
|
21
LICENSE
21
LICENSE
|
@ -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.
|
43
README.md
43
README.md
|
@ -1,43 +0,0 @@
|
|||
# Chirpy Starter
|
||||
|
||||
[][gem]
|
||||
[][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 user’s 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
|
|
@ -64,8 +64,8 @@ analytics:
|
|||
goatcounter:
|
||||
id: # fill in your GoatCounter ID
|
||||
umami:
|
||||
id: # fill in your Umami ID
|
||||
domain: # fill in your Umami domain
|
||||
id: bce05e76-5cae-4688-a389-99bb87649d44
|
||||
domain: https://umami.martin.md
|
||||
matomo:
|
||||
id: # fill in your Matomo ID
|
||||
domain: # fill in your Matomo domain
|
||||
|
@ -99,7 +99,7 @@ theme_mode: # [light | dark]
|
|||
cdn:
|
||||
|
||||
# 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.
|
||||
# It can be overridden by a customized `page.image` in front matter.
|
||||
|
@ -178,7 +178,7 @@ defaults:
|
|||
type: posts
|
||||
values:
|
||||
layout: post
|
||||
comments: true # Enable comments in posts.
|
||||
comments: false # Enable comments in posts.
|
||||
toc: true # Display TOC column in posts.
|
||||
# DO NOT modify the following parameter unless you are confident enough
|
||||
# to update the code of all other post links in this project.
|
||||
|
|
|
@ -1,9 +1,13 @@
|
|||
# The contact options.
|
||||
# icons powered by <https://fontawesome.com/>
|
||||
#
|
||||
|
||||
- type: github
|
||||
icon: "fab fa-github"
|
||||
|
||||
- type: forgejo
|
||||
icon: 'fab fa-git-alt'
|
||||
url: 'https://git.martin.md/radu'
|
||||
|
||||
# - type: email
|
||||
# icon: "fas fa-envelope"
|
||||
# noblank: true # open link in current tab
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
# Icons from <https://fontawesome.com/>
|
||||
|
||||
platforms:
|
||||
- type: Twitter
|
||||
icon: "fa-brands fa-square-x-twitter"
|
||||
link: "https://twitter.com/intent/tweet?text=TITLE&url=URL"
|
||||
|
||||
- type: Facebook
|
||||
icon: "fab fa-facebook-square"
|
||||
link: "https://www.facebook.com/sharer/sharer.php?title=TITLE&u=URL"
|
||||
# - type: Twitter
|
||||
# icon: "fa-brands fa-square-x-twitter"
|
||||
# link: "https://twitter.com/intent/tweet?text=TITLE&url=URL"
|
||||
#
|
||||
# - type: Facebook
|
||||
# icon: "fab fa-facebook-square"
|
||||
# link: "https://www.facebook.com/sharer/sharer.php?title=TITLE&u=URL"
|
||||
|
||||
- type: Telegram
|
||||
icon: "fab fa-telegram"
|
||||
|
@ -24,23 +24,23 @@ platforms:
|
|||
# icon: "fab fa-weibo"
|
||||
# link: "https://service.weibo.com/share/share.php?title=TITLE&url=URL"
|
||||
#
|
||||
# - type: Mastodon
|
||||
# icon: "fa-brands fa-mastodon"
|
||||
# # See: https://github.com/justinribeiro/share-to-mastodon#properties
|
||||
# instances:
|
||||
# - label: mastodon.social
|
||||
# link: "https://mastodon.social/"
|
||||
# - label: mastodon.online
|
||||
# link: "https://mastodon.online/"
|
||||
# - label: fosstodon.org
|
||||
# link: "https://fosstodon.org/"
|
||||
# - label: photog.social
|
||||
# link: "https://photog.social/"
|
||||
#
|
||||
# - type: Bluesky
|
||||
# icon: "fa-brands fa-bluesky"
|
||||
# link: "https://bsky.app/intent/compose?text=TITLE%20URL"
|
||||
#
|
||||
- type: Mastodon
|
||||
icon: "fa-brands fa-mastodon"
|
||||
# See: https://github.com/justinribeiro/share-to-mastodon#properties
|
||||
instances:
|
||||
- label: mastodon.social
|
||||
link: "https://mastodon.social/"
|
||||
- label: mastodon.online
|
||||
link: "https://mastodon.online/"
|
||||
- label: fosstodon.org
|
||||
link: "https://fosstodon.org/"
|
||||
- label: photog.social
|
||||
link: "https://photog.social/"
|
||||
|
||||
- type: Bluesky
|
||||
icon: "fa-brands fa-bluesky"
|
||||
link: "https://bsky.app/intent/compose?text=TITLE%20URL"
|
||||
|
||||
# - type: Reddit
|
||||
# icon: "fa-brands fa-square-reddit"
|
||||
# link: "https://www.reddit.com/submit?url=URL&title=TITLE"
|
||||
|
|
35
_drafts/2025-04-06-hello-friend.md
Normal file
35
_drafts/2025-04-06-hello-friend.md
Normal 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;}
|
||||
|
||||
}
|
||||
|
||||
```
|
|
@ -6,3 +6,5 @@ order: 4
|
|||
|
||||
> Add Markdown syntax content to file `_tabs/about.md`{: .filepath } and it will show up on this page.
|
||||
{: .prompt-tip }
|
||||
|
||||
TODO: Some info about me
|
||||
|
|
Before Width: | Height: | Size: 180 KiB After Width: | Height: | Size: 180 KiB |
|
@ -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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue