generated from goofish-shop/hugo-ladder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
110 changed files
with
10,288 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# These are supported funding model platforms | ||
|
||
github: g1eny0ung # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] | ||
patreon: # Replace with a single Patreon username | ||
open_collective: # Replace with a single Open Collective username | ||
ko_fi: # Replace with a single Ko-fi username | ||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel | ||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry | ||
liberapay: # Replace with a single Liberapay username | ||
issuehunt: # Replace with a single IssueHunt username | ||
otechie: # Replace with a single Otechie username | ||
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
# Sample workflow for building and deploying a Next.js site to GitHub Pages | ||
# | ||
# To get started with Next.js see: https://nextjs.org/docs/getting-started | ||
# | ||
name: Deploy docs to Pages | ||
|
||
on: | ||
# Runs on pushes targeting the default branch | ||
push: | ||
branches: ['master'] | ||
paths: | ||
- 'docs/**' | ||
|
||
# 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 | ||
defaults: | ||
run: | ||
working-directory: docs | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- uses: pnpm/action-setup@v4 | ||
with: | ||
version: 8 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20' | ||
cache: 'pnpm' | ||
cache-dependency-path: 'docs/pnpm-lock.yaml' | ||
|
||
- name: Restore cache | ||
uses: actions/cache@v4 | ||
with: | ||
path: | | ||
docs/.next/cache | ||
key: ${{ runner.os }}-nextjs-${{ hashFiles('docs/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-nextjs- | ||
- run: pnpm install | ||
- name: Build | ||
run: pnpm run build | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: './docs/out' | ||
|
||
# Deployment job | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.DS_Store | ||
|
||
node_modules | ||
|
||
docs/.next | ||
docs/out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"semi": false, | ||
"singleQuote": true, | ||
"printWidth": 120 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2019 Yue Yang | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# 🌱 hugo-theme-dream | ||
|
||
![GitHub Release](https://img.shields.io/github/v/release/g1eny0ung/hugo-theme-dream) | ||
![GitHub License](https://img.shields.io/github/license/g1eny0ung/hugo-theme-dream) | ||
|
||
> The latest version of Dream is v3.x. | ||
> | ||
> If you are using v2.x, please check the [v2 branch](https://github.com/g1eny0ung/hugo-theme-dream/tree/v2) and its [docs](https://hugo-theme-dream-docs-v2.netlify.app/). | ||
- [Intro](#intro) | ||
- [Installation](#installation) | ||
- [Documentation](#documentation) | ||
- [Examples](#examples) | ||
- [Publish your site](#publish-your-site) | ||
|
||
## Intro | ||
|
||
Dream is a [Hugo](https://gohugo.io/) theme. I build it for [my blog](https://g1en.site). | ||
|
||
The main features are **Masonry Layout Posts** and **Flippable About Page**. | ||
|
||
Dream also supports **light and dark mode** out of the box. | ||
|
||
![Screenshot](https://github.com/g1eny0ung/hugo-theme-dream/blob/master/images/screenshot.png?raw=true) | ||
|
||
## Installation | ||
|
||
Go into your site folder: | ||
|
||
```bash | ||
cd themes | ||
git clone https://github.com/g1eny0ung/hugo-theme-dream.git dream | ||
``` | ||
|
||
Then open `hugo.toml` and add `theme = "dream"`. | ||
|
||
## Documentation | ||
|
||
<https://g1en.site/hugo-theme-dream> | ||
|
||
## Examples | ||
|
||
- [My blog](https://g1en.site) and its [source code](https://github.com/g1eny0ung/blog) | ||
|
||
## Publish your site | ||
|
||
See [Hosting & Deployment](https://gohugo.io/hosting-and-deployment/). | ||
|
||
## License | ||
|
||
🌱 Hugo Theme Dream is licensed under the MIT License. | ||
|
||
Author: [g1eny0ung](https://github.com/g1eny0ung). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
title: {{ replace .TranslationBaseName "-" " " | title }} | ||
date: {{ .Date }} | ||
draft: true | ||
--- | ||
|
||
Cut out summary from your post content here. | ||
|
||
<!--more--> | ||
|
||
The remaining content of your post. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
title: {{ replace .TranslationBaseName "-" " " | title }} | ||
date: {{ .Date }} | ||
lastmod: {{ .Date }} | ||
author: Author Name | ||
# avatar: /img/author.jpg | ||
# authorlink: https://author.site | ||
cover: /img/cover.jpg | ||
# images: | ||
# - /img/cover.jpg | ||
categories: | ||
- category1 | ||
tags: | ||
- tag1 | ||
- tag2 | ||
# nolastmod: true | ||
draft: true | ||
--- | ||
|
||
Cut out summary from your post content here. | ||
|
||
<!--more--> | ||
|
||
The remaining content of your post. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[module] | ||
[module.hugoVersion] | ||
min = "0.58.3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[Weekday] | ||
0 = 'اِلْحَدّ' | ||
1 = 'الْاِتْنِينْ' | ||
2 = 'التَّلَاتْ' | ||
3 = 'اِلْاَرْبَعْ' | ||
4 = 'اِلْخَمِيسْ' | ||
5 = 'اِلْجُمْعَهْ' | ||
6 = 'اِلسَّبْتْ' | ||
|
||
[Month] | ||
1 = 'يَنَايِرْ' | ||
2 = 'فِبْرَايِرْ' | ||
3 = 'مَارِسْ' | ||
4 = 'اِبْرِيلْ' | ||
5 = 'مَايُو' | ||
6 = 'يُونْيَهْ' | ||
7 = 'يُولْيُو' | ||
8 = 'اَغُسْطُسْ' | ||
9 = 'سِبْتَمْبِرْ' | ||
10 = 'اُكْتُوبَرْ' | ||
11 = 'نُوفَمْبِرْ' | ||
12 = 'دِيسَمْبِرْ' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[Weekday] | ||
0 = 'Diumenge' | ||
1 = 'Dilluns' | ||
2 = 'Dimarts' | ||
3 = 'Dimecres' | ||
4 = 'Dijous' | ||
5 = 'Divendres' | ||
6 = 'Dissabte' | ||
|
||
[Month] | ||
1 = 'Gener' | ||
2 = 'Febrer' | ||
3 = 'Març' | ||
4 = 'Abril' | ||
5 = 'Maig' | ||
6 = 'Juny' | ||
7 = 'Juliol' | ||
8 = 'Agost' | ||
9 = 'Setembre' | ||
10 = 'Octubre' | ||
11 = 'Novembre' | ||
12 = 'Desembre' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[Weekday] | ||
0 = 'Sonntag' | ||
1 = 'Montag' | ||
2 = 'Dienstag' | ||
3 = 'Mittwoch' | ||
4 = 'Donnerstag' | ||
5 = 'Freitag' | ||
6 = 'Samstag' | ||
|
||
[Month] | ||
1 = 'Januar' | ||
2 = 'Februar' | ||
3 = 'März' | ||
4 = 'April' | ||
5 = 'Mai' | ||
6 = 'Juni' | ||
7 = 'Juli' | ||
8 = 'August' | ||
9 = 'September' | ||
10 = 'Oktober' | ||
11 = 'November' | ||
12 = 'Dezember' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[Weekday] | ||
0 = 'Domingo' | ||
1 = 'Lunes' | ||
2 = 'Martes' | ||
3 = 'Miércoles' | ||
4 = 'Jueves' | ||
5 = 'Viernes' | ||
6 = 'Sábado' | ||
|
||
[Month] | ||
1 = 'Enero' | ||
2 = 'Febrero' | ||
3 = 'Marzo' | ||
4 = 'Abril' | ||
5 = 'Mayo' | ||
6 = 'Junio' | ||
7 = 'Julio' | ||
8 = 'Agosto' | ||
9 = 'Septiembre' | ||
10 = 'Octubre' | ||
11 = 'Noviembre' | ||
12 = 'Diciembre' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[Weekday] | ||
0 = 'Dimanche' | ||
1 = 'Lundi' | ||
2 = 'Mardi' | ||
3 = 'Mercredi' | ||
4 = 'Jeudi' | ||
5 = 'Vendredi' | ||
6 = 'Samedi' | ||
|
||
[Month] | ||
1 = 'Janvier' | ||
2 = 'Février' | ||
3 = 'Mars' | ||
4 = 'Avril' | ||
5 = 'Mai' | ||
6 = 'Juin' | ||
7 = 'Juillet' | ||
8 = 'Aout' | ||
9 = 'Septembre' | ||
10 = 'Octobre' | ||
11 = 'Novembre' | ||
12 = 'Décembre' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[Weekday] | ||
0 = 'יוֹם רִאשׁוֹן' | ||
1 = 'יוֹם שֵׁנִי' | ||
2 = 'יוֹם שְׁלִישִׁי' | ||
3 = 'יום רביעי' | ||
4 = 'יוֹם חֲמִישִׁי' | ||
5 = 'יוֹם שִׁישִׁי' | ||
6 = 'יום שבת' | ||
|
||
[Month] | ||
1 = 'יָנוּאָר' | ||
2 = 'פברואר' | ||
3 = 'מרץ' | ||
4 = 'אַפּרִיל' | ||
5 = 'מאי' | ||
6 = 'יוני' | ||
7 = 'יולי' | ||
8 = 'אוגוסט' | ||
9 = 'סֶפּטֶמבֶּר' | ||
10 = 'אוֹקְטוֹבֶּר' | ||
11 = 'נוֹבֶמבֶּר' | ||
12 = 'דֵצֶמבֶּר' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[Weekday] | ||
0 = 'Domenica' | ||
1 = 'Lunedì' | ||
2 = 'Martedì' | ||
3 = 'Mercoledì' | ||
4 = 'Giovedì' | ||
5 = 'Venerdì' | ||
6 = 'Sabato' | ||
|
||
[Month] | ||
1 = 'Gennaio' | ||
2 = 'Febbraio' | ||
3 = 'Marzo' | ||
4 = 'Aprile' | ||
5 = 'Maggio' | ||
6 = 'Giugno' | ||
7 = 'Luglio' | ||
8 = 'Agosto' | ||
9 = 'Settembre' | ||
10 = 'Ottobre' | ||
11 = 'Novembre' | ||
12 = 'Dicembre' |
Oops, something went wrong.