Skip to content

Commit

Permalink
Update Notes - Tue Aug 29 10:52:38 CST 2023
Browse files Browse the repository at this point in the history
  • Loading branch information
siansiansu committed Aug 29, 2023
1 parent f772bae commit 8d22963
Show file tree
Hide file tree
Showing 45 changed files with 1,297 additions and 14 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,32 @@
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll with GitHub Pages dependencies preinstalled

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Run
run: |
sed -i '1 i---\nlayout: home\n---\n' README.md
cp README.md index.md
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Build with Jekyll
Expand All @@ -38,7 +37,6 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v1

# Deployment job
deploy:
environment:
name: github-pages
Expand Down
25 changes: 25 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
permalink: /404.html
layout: post
---

<style type="text/css" media="screen">
.container {
margin: 1em auto;
max-width: 60em;
text-align: center;
}
h1 {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
</style>

<div class="container">
<h1>404</h1>

<p><strong>Page not found :(</strong></p>
<p>The requested page could not be found.</p>
</div>
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# frozen_string_literal: true

source "https://rubygems.org"
gemspec
82 changes: 82 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
PATH
remote: .
specs:
moonwalk (0.1.3)
jekyll (~> 4.2.0)
jekyll-feed (~> 0.15.0)
jekyll-soopr-seo-tag (~> 2.7.3)
rouge (~> 3.23.0)
webrick (~> 1.7)

GEM
remote: https://rubygems.org/
specs:
addressable (2.8.1)
public_suffix (>= 2.0.2, < 6.0)
colorator (1.1.0)
concurrent-ruby (1.1.10)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.15.5)
forwardable-extended (2.6.0)
http_parser.rb (0.8.0)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
jekyll (4.2.2)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.4.0)
pathutil (~> 0.9)
rouge (~> 3.0)
safe_yaml (~> 1.0)
terminal-table (~> 2.0)
jekyll-feed (0.15.1)
jekyll (>= 3.7, < 5.0)
jekyll-sass-converter (2.2.0)
sassc (> 2.0.1, < 3.0)
jekyll-soopr-seo-tag (2.7.3)
jekyll (>= 3.8, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.7.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.0.0)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.5)
rouge (3.23.0)
safe_yaml (1.0.5)
sassc (2.4.0)
ffi (~> 1.9)
terminal-table (2.0.0)
unicode-display_width (~> 1.1, >= 1.1.1)
unicode-display_width (1.8.0)
webrick (1.7.0)

PLATFORMS
ruby

DEPENDENCIES
moonwalk!

BUNDLED WITH
2.2.21
12 changes: 6 additions & 6 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License
The MIT License (MIT)

Copyright (c) 2022 Alex Su
Copyright (c) 2020 Alex Su

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -9,13 +9,13 @@ 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 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.
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
47 changes: 47 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
title: 學台語 Oh Tâi-gí
author: Alex Su
url: https://siansiansu.github.io/oh-tai-gi/
description:
permalink: /:slug
favicon: "./logo.png"
twitter:
username: siansiansu
card: summary_large_image

#theme: moonwalk # if you are using GitHub Pages, change it to remote_theme: abhinavs/moonwalk
remote_theme: abhinavs/moonwalk

theme_config:
appearance: "dark" # can be "light", "dark" or "auto"
appearance_toggle: true # if appearance can be switched by user
back_home_text: "home.." # customize text for homepage link in post layout
date_format: "%Y-%m-%d" # customize how date is formatted
show_description: false # show blog description
show_navbar: false # show horizontal navbar
show_footer: true # show footer links in home page,add in _data/home.yml
show_copyright: true # show copyright notice in footer
# following keys are using to create home layout
show_projects: false # show projects as cards, add in _data/home.yml
show_blog: false # show blog posts added in _posts
show_old_projects: false # show old projects as cards, add in _data/home.yml
show_misc_list: false # show generic vertical list for misc details, add _data/home.yml
show_reading_time: true # show number of words and reading time in the blog posts
show_tags: true # show tags in a blog posts
# options for "home" page
# home:
# title_projects: Portfolio
# title_misc_list: Details
# title_blog: Blog
# title_old_projects: Old Projects

soopr:
publish_token: "" # sign up at https://www.soopr.co to get your publish token and personalize share and reaction options

highlighter: rouge

sass:
style: :compressed

plugins:
- jekyll-feed
- jekyll-soopr-seo-tag
106 changes: 106 additions & 0 deletions _data/home.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
footer_entries:
- title: home
url: https://siansiansu.github.io/

- title: github
url: https://github.com/siansiansu

- title: instagram
url: https://www.instagram.com/siansiansu/

- title: facebook
url: https://www.facebook.com/siansiansu

# - title: twitter
# url: https://twitter.com/siansiansu

# - title: feed
# url: feed.xml

# navbar_entries:
# - title: about
# url: about
#
# - title: blog
# url: blog
#
# - title: website
# url: https://www.abhinav.co

# project_entries:
# - title: Project 1
# url: overview-post
# desc: This is an example project, configured in _data/home.yml
#
# - title: Project 2
# url: overview-post
# desc: Projects are shown in card layout
#
# - title: Project 3
# url: overview-post
# desc: You can control visibility from _config.yml file
#
# - title: Project 4
# url: overview-post
# desc: This project uses highlight markup, configured in _data/home.yml
# highlight: WIP
#
# - title: Project 5
# url: overview-post
# desc: Moonwalk also has horizontal list (used in header and footer)
# highlight: WIP
#
# - title: Project 6
# url: overview-post
# desc: It also has a scalable vertical list (in case you need it)

# old_project_entries:
# - title: Soopr
# url: https://www.soopr.co
# desc: Delight your readers - add beautiful share and like buttons easily to your websites
# highlight: NEW
#
# - title: Cookie
# url: https://github.com/abhinavs/cookie
# desc: An open source landing website with supporting pages and integrated blog
#
# - title: Moonwalk
# url: https://github.com/abhinavs/moonwalk
# desc: A fast and minimalist Jekyll blog theme with clean dark mode
#
# - title: Humangous
# url: https://www.humangous.co
# desc: The better people know you, the better they collaborate


# misc_entries:
# - title: this is an example vertical list
# url: false
#
# - title: you can show or hide using a boolean flag in _config.yml
# url: false
#
# - title: and you can add data in _data/home.yml
# url: false
#
# - title: Blog posts
# post_list: true
# url: false
#
# - title: moonwalk on the Internet
# url: false
# entries:
# - title: on Github
# url: https://github.com/abhinavs/moonwalk
#
# - title: originally built for abhinav's homepage
# url: https://www.abhinav.co
#
# - title: this list is scalable and can be nested
# url: false
# entries:
# - title: this is nested inside a nested list
# url: false
#
# - title: it is easy to use, see _data/home.yml to see how to configure it.
# url: false
26 changes: 26 additions & 0 deletions _includes/card_list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<ul class="horizontal-list">
{% for item in include.collection %}

<li class="card">
<a href="{{ item.url }}">
<span class="header">
{{ item.title }}

{% if item.highlight %}
<mark>{{ item.highlight }}</mark>
{% endif %}

</span>

<hr />

{% if item.desc != false %}
<p class="body">
{{ item.desc }}
</p>
{% endif %}
</a>
</li>

{% endfor %}
</ul>
3 changes: 3 additions & 0 deletions _includes/custom_head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{% comment %}
Placeholder to allow defining custom head. You can put favicons and other custom header fields here
{% endcomment %}
Loading

0 comments on commit 8d22963

Please sign in to comment.