Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
june-fish committed Feb 12, 2024
0 parents commit e53bab3
Show file tree
Hide file tree
Showing 15 changed files with 106 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
on: push
name: Build and deploy GH Pages
jobs:
build:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- name: checkout
uses: actions/checkout@v4
- name: build_and_deploy
uses: shalzz/[email protected]
env:
# Target branch
PAGES_BRANCH: gh-pages
# Provide personal access token
TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
public/
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "themes/anatole-zola"]
path = themes/anatole-zola
url = https://github.com/longfangsong/anatole-zola.git
47 changes: 47 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# The URL the site will be built for
base_url = "https://june.fish"

# Whether to automatically compile all Sass files in the sass directory
compile_sass = true

# Whether to build a search index to be used later on by a JavaScript library
build_search_index = true

theme = "anatole-zola"

default_language = "en"

[languages.en.translations]
language_name = "English"
about = "About"
home = "Home"
tags = "Tags"
archive = "Archive"
links = "Links"
date_format = "%Y-%m-%d"
next_page = "Next Page"
last_page = "Last Page"

[languages.zh.translations]
language_name = "中文"
home = "首页"
about = "关于"
tags = "标签"
archive = "归档"
links = "友链"
date_format = "%Y-%m-%d"
next_page = "下一页"
last_page = "上一页"

[markdown]
# Whether to do syntax highlighting
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
highlight_code = true

[extra]
author = "june"

[extra.social]
github = "june-fish"
mastodon = "ordinary.cafe/@june"

8 changes: 8 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
+++
title = "index"
template = "index.html"
transparent = true
sort_by = "date"
paginate_by = 10
+++

8 changes: 8 additions & 0 deletions content/_index.zh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
+++
title = "index"
template = "index.html"
transparent = true
sort_by = "date"
paginate_by = 10
+++

7 changes: 7 additions & 0 deletions content/about/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
+++
title = "About"
template = "about.html"
paginate_by = 0
+++

Just a fishe
7 changes: 7 additions & 0 deletions content/about/_index.zh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
+++
title = "About"
template = "about.html"
paginate_by = 0
+++

就是一条鱼
4 changes: 4 additions & 0 deletions content/archive/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
+++
title = "archive"
template = "archive.html"
+++
4 changes: 4 additions & 0 deletions content/archive/_index.zh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
+++
title = "archive"
template = "archive.html"
+++
Binary file added static/images/avatar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions themes/anatole-zola
Submodule anatole-zola added at 617390

0 comments on commit e53bab3

Please sign in to comment.