mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-20 06:11:53 +02:00
commit
5e2e4ee32a
12 changed files with 296 additions and 1125 deletions
38
.github/workflows/firebase-preview.yml
vendored
38
.github/workflows/firebase-preview.yml
vendored
|
@ -1,38 +0,0 @@
|
|||
name: Deploy Preview to Firebase
|
||||
'on': pull_request
|
||||
jobs:
|
||||
build_and_preview:
|
||||
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Hugo setup
|
||||
uses: peaceiris/actions-hugo@v3.0.0
|
||||
with:
|
||||
hugo-version: 0.140.2
|
||||
extended: true
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||
|
||||
- name: Build with Hugo
|
||||
env:
|
||||
# For maximum backward compatibility with Hugo modules
|
||||
HUGO_ENVIRONMENT: production
|
||||
HUGO_ENV: production
|
||||
run: |
|
||||
hugo -E -F --minify -s exampleSite --themesDir ../.. -d ../public --baseURL https://blowfish.page
|
||||
|
||||
- name: Deploy preview
|
||||
uses: FirebaseExtended/action-hosting-deploy@v0
|
||||
with:
|
||||
repoToken: '${{ secrets.GITHUB_TOKEN }}'
|
||||
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_BLOWFISH_21FFF }}'
|
||||
expires: 30d
|
||||
channelId: preview-${{ github.event.number }}
|
||||
projectId: blowfish-21fff
|
39
.github/workflows/firebase-production.yml
vendored
39
.github/workflows/firebase-production.yml
vendored
|
@ -1,39 +0,0 @@
|
|||
name: Deploy Production to Firebase
|
||||
'on':
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
build_and_deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Hugo setup
|
||||
uses: peaceiris/actions-hugo@v3.0.0
|
||||
with:
|
||||
hugo-version: 0.140.2
|
||||
extended: true
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||
|
||||
- name: Build with Hugo
|
||||
env:
|
||||
# For maximum backward compatibility with Hugo modules
|
||||
HUGO_ENVIRONMENT: production
|
||||
HUGO_ENV: production
|
||||
run: |
|
||||
hugo -E -F --minify -s exampleSite --themesDir ../.. -d ../public --baseURL https://blowfish.page
|
||||
|
||||
- name: Deploy Production
|
||||
uses: FirebaseExtended/action-hosting-deploy@v0
|
||||
with:
|
||||
repoToken: '${{ secrets.GITHUB_TOKEN }}'
|
||||
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_BLOWFISH_21FFF }}'
|
||||
channelId: live
|
||||
projectId: blowfish-21fff
|
145
README.id.md
Normal file
145
README.id.md
Normal file
|
@ -0,0 +1,145 @@
|
|||
**[English](https://github.com/nunocoracao/blowfish/blob/main/README.md) | Indonesian | [简体中文](https://github.com/nunocoracao/blowfish/blob/main/README.zh-cn.md) | [日本語](https://github.com/nunocoracao/blowfish/blob/main/README.ja.md)**
|
||||
|
||||
# Blowfish
|
||||
[](https://github.com/nunocoracao/blowfish/actions/workflows/firebase-production.yml)
|
||||
[](https://github.com/nunocoracao/blowfish/actions/workflows/pages.yml)
|
||||
[](https://github.com/gohugoio/hugo/releases/tag/v0.87.0)
|
||||
[](https://github.com/nunocoracao/blowfish/blob/main/LICENSE)
|
||||
[](https://themes.gohugo.io/themes/blowfish/)
|
||||

|
||||
|
||||
Blowfish dirancang sebagai tema yang kuat dan ringan untuk [Hugo](https://gohugo.io). Tema ini dibuat menggunakan Tailwind CSS dengan desain yang bersih dan minimalis, yang mengutamakan konten Anda.
|
||||
|
||||

|
||||
|
||||
🌏 [Situs demo](https://blowfish.page/)
|
||||
📑 [Dokumentasi tema](https://blowfish.page/docs/)
|
||||
💎 [Toko Merch](http://tee.pub/lic/qwSlWVBL5zc)
|
||||
🐛 [Laporan bug & masalah](https://github.com/nunocoracao/blowfish/issues)
|
||||
💡 [Pertanyaan & permintaan fitur](https://github.com/nunocoracao/blowfish/discussions)
|
||||
|
||||
<a href="https://www.buymeacoffee.com/nunocoracao" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Belikan Saya Kopi" style="height: 60px !important;width: 217px !important;" ></a>
|
||||
<a target="_blank" href="http://tee.pub/lic/qwSlWVBL5zc"><img class="nozoom" src="https://img.buymeacoffee.com/button-api/?text=Toko Merch &emoji=💎&slug=nunocoracao&button_colour=5F7FFF&font_colour=ffffff&font_family=Lato&outline_colour=000000&coffee_colour=FFDD00" /></a>
|
||||
|
||||
## Fitur
|
||||
|
||||
- Tata letak responsif sepenuhnya dengan Tailwind CSS 3.0
|
||||
- Beragam skema warna (atau sesuaikan sendiri)
|
||||
- Mode gelap (paksa aktif/nonaktif atau otomatis dengan pengaturan pengguna)
|
||||
- Konfigurasi yang sangat dapat disesuaikan
|
||||
- Integrasi Firebase untuk mendukung data dinamis
|
||||
- Penghitung tampilan & mekanisme suka
|
||||
- Artikel terkait
|
||||
- Beragam tata letak halaman utama
|
||||
- Dukungan untuk banyak penulis
|
||||
- Seri artikel
|
||||
- Penyortiran artikel berdasarkan tanggal dan bobot
|
||||
- Mode Zen untuk membaca artikel
|
||||
- Fleksibel dengan berbagai jenis konten, taksonomi, dan menu
|
||||
- Menu header dan footer
|
||||
- Menu bersarang & sub-menu navigasi
|
||||
- Daftar isi yang dapat digulir
|
||||
- Dukungan untuk konten multibahasa termasuk bahasa RTL
|
||||
- Kemampuan untuk menautkan ke artikel di situs web pihak ketiga
|
||||
- Dukungan untuk beberapa shortcode seperti Galeri, Timeline, Kartu GitHub, dan Carousel
|
||||
- Integrasi BuyMeACoffee
|
||||
- Pencarian situs berbasis klien dengan Fuse.js
|
||||
- Diagram dan visualisasi menggunakan Mermaid
|
||||
- Grafik menggunakan Chart.js
|
||||
- Integrasi TypeIt
|
||||
- Sematan YouTube dengan peningkatan kinerja
|
||||
- Notasi matematika menggunakan KaTeX
|
||||
- Ikon SVG dari FontAwesome 6
|
||||
- Pengubahan ukuran gambar otomatis menggunakan Hugo Pipes
|
||||
- Anchor heading, daftar isi, salin kode, tombol, lencana, dan lainnya
|
||||
- Dukungan HTML dan emoji dalam artikel 🎉
|
||||
- SEO-friendly dengan tautan berbagi ke media sosial
|
||||
- Dukungan untuk Fathom Analytics dan Google Analytics
|
||||
- Dukungan RSS feed, favicon, dan komentar
|
||||
- Kustomisasi tingkat lanjut dengan definisi warna dan gaya Tailwind yang sederhana
|
||||
- Dioptimalkan untuk kinerja dan aksesibilitas dengan skor Lighthouse sempurna
|
||||
- Dokumentasi lengkap dengan pembaruan rutin
|
||||
|
||||
---
|
||||
|
||||

|
||||
|
||||
## Dokumentasi
|
||||
|
||||
Blowfish memiliki [dokumentasi lengkap](https://blowfish.page/docs/) yang mencakup semua aspek tema. Pastikan untuk [membaca dokumentasi](https://blowfish.page/docs/) guna mempelajari cara menggunakan tema dan fiturnya.
|
||||
|
||||
---
|
||||
|
||||
## Instalasi
|
||||
|
||||
Blowfish mendukung beberapa metode instalasi - sebagai submodul git, Modul Hugo, atau instalasi manual sepenuhnya.
|
||||
|
||||
Instruksi terperinci untuk setiap metode dapat ditemukan dalam [dokumentasi instalasi](https://blowfish.page/docs/installation).
|
||||
|
||||
### Instalasi Cepat Menggunakan Blowfish Tools
|
||||
|
||||
> **Catatan:** Pastikan Anda sudah menginstal **Node.js**, **Git**, **Go**, dan **Hugo**, serta telah membuat proyek Hugo sebelum melanjutkan.
|
||||
|
||||
Kami baru saja meluncurkan alat CLI baru untuk membantu Anda memulai dengan Blowfish. Ini akan membuat proyek Hugo baru, menginstal tema, dan mengatur file konfigurasi tema untuk Anda.
|
||||
|
||||
Instal alat CLI secara global menggunakan npm (atau manajer paket lainnya):
|
||||
```shell
|
||||
npm i -g blowfish-tools
|
||||
```
|
||||
|
||||
Kemudian jalankan perintah berikut untuk memulai interaksi yang akan memandu Anda melalui proses pembuatan dan konfigurasi:
|
||||
```shell
|
||||
blowfish-tools
|
||||
```
|
||||
|
||||
Untuk membuat proyek Hugo baru dan menginstal tema sekaligus, gunakan:
|
||||
```shell
|
||||
blowfish-tools new mynewsite
|
||||
```
|
||||
|
||||
### Instalasi Cepat Menggunakan Git Submodules
|
||||
|
||||
> **Catatan:** Pastikan Anda sudah menginstal **Git**, **Go**, dan **Hugo**, serta telah membuat proyek Hugo sebelum melanjutkan.
|
||||
|
||||
1. Dari direktori proyek Anda, inisialisasi git:
|
||||
```shell
|
||||
git init
|
||||
```
|
||||
|
||||
2. Konfigurasikan Blowfish sebagai submodul git:
|
||||
```shell
|
||||
git submodule add -b main https://github.com/nunocoracao/blowfish.git themes/blowfish
|
||||
```
|
||||
|
||||
3. Hapus file `config.toml` di root proyek dan salin file `*.toml` dari tema ke dalam folder `config/_default/`.
|
||||
|
||||
4. Ikuti petunjuk [Memulai](https://blowfish.page/docs/getting-started/) untuk mengonfigurasi situs web Anda.
|
||||
|
||||
### Memperbarui Tema
|
||||
|
||||
Untuk memperbarui tema ke rilis terbaru, cukup jalankan perintah berikut di direktori proyek Anda:
|
||||
```shell
|
||||
hugo mod get -u
|
||||
```
|
||||
|
||||
Instruksi pembaruan selengkapnya tersedia dalam [dokumentasi instalasi](https://blowfish.page/docs/installation/#installing-updates).
|
||||
|
||||
---
|
||||
|
||||
## Kontribusi
|
||||
|
||||
Blowfish akan terus berkembang seiring waktu. Jika Anda memiliki ide atau ingin melaporkan bug, silakan hubungi kami:
|
||||
|
||||
- 🐛 **Laporan bug & masalah:** Gunakan [GitHub Issues](https://github.com/nunocoracao/blowfish/issues)
|
||||
- 💡 **Ide fitur baru:** Buat diskusi di [GitHub Discussions](https://github.com/nunocoracao/blowfish/discussions)
|
||||
- 🙋♀️ **Pertanyaan umum:** Kunjungi [GitHub Discussions](https://github.com/nunocoracao/blowfish/discussions)
|
||||
|
||||
Jika Anda bisa memperbaiki bug atau menambahkan fitur baru, kontribusi dalam bentuk PR sangat dihargai. Pelajari lebih lanjut dalam [panduan kontribusi](https://github.com/nunocoracao/blowfish/blob/main/CONTRIBUTING.md).
|
||||
|
||||
---
|
||||
|
||||
## Grafik Stargazers
|
||||
|
||||
[](https://starchart.cc/nunocoracao/blowfish)
|
||||
|
||||
<a rel="me" href="https://masto.ai/@blowfish">Mastodon</a>
|
|
@ -1,4 +1,4 @@
|
|||
[English](https://github.com/nunocoracao/blowfish/blob/main/README.md) | [简体中文](https://github.com/nunocoracao/blowfish/blob/main/README.zh-cn.md) | 日本語
|
||||
[English](https://github.com/nunocoracao/blowfish/blob/main/README.md) | [Indonesian](https://github.com/nunocoracao/blowfish/blob/main/README.id.md) | [简体中文](https://github.com/nunocoracao/blowfish/blob/main/README.zh-cn.md) | 日本語
|
||||
# Blowfish
|
||||
[](https://github.com/nunocoracao/blowfish/actions/workflows/firebase-production.yml)
|
||||
[](https://github.com/nunocoracao/blowfish/actions/workflows/pages.yml)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
English | [简体中文](https://github.com/nunocoracao/blowfish/blob/main/README.zh-cn.md) | [日本語](https://github.com/nunocoracao/blowfish/blob/main/README.ja.md)
|
||||
English | [Indonesian](https://github.com/nunocoracao/blowfish/blob/main/README.id.md) | [简体中文](https://github.com/nunocoracao/blowfish/blob/main/README.zh-cn.md) | [日本語](https://github.com/nunocoracao/blowfish/blob/main/README.ja.md)
|
||||
# Blowfish
|
||||
[](https://github.com/nunocoracao/blowfish/actions/workflows/firebase-production.yml)
|
||||
[](https://github.com/nunocoracao/blowfish/actions/workflows/pages.yml)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[English](https://github.com/nunocoracao/blowfish/blob/main/README.md) | 简体中文 | [日本語](https://github.com/nunocoracao/blowfish/blob/main/README.ja.md)
|
||||
[English](https://github.com/nunocoracao/blowfish/blob/main/README.md) | [Indonesian](https://github.com/nunocoracao/blowfish/blob/main/README.id.md) | 简体中文 | [日本語](https://github.com/nunocoracao/blowfish/blob/main/README.ja.md)
|
||||
# Blowfish
|
||||
[](https://github.com/nunocoracao/blowfish/actions/workflows/firebase-production.yml)
|
||||
[](https://github.com/nunocoracao/blowfish/actions/workflows/pages.yml)
|
||||
|
|
6
assets/lib/fuse/fuse.min.js
vendored
6
assets/lib/fuse/fuse.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -2,4 +2,4 @@
|
|||
[module.hugoVersion]
|
||||
extended = true
|
||||
min = "0.87.0"
|
||||
max = "0.142.0"
|
||||
max = "0.143.1"
|
|
@ -5,4 +5,4 @@
|
|||
[build.environment]
|
||||
HUGO_VERSION = "0.142.0"
|
||||
HUGO_THEMESDIR = "../.."
|
||||
HUGO_THEME = "repo"
|
||||
HUGO_THEME = "repo"
|
1171
package-lock.json
generated
1171
package-lock.json
generated
File diff suppressed because it is too large
Load diff
10
package.json
10
package.json
|
@ -36,19 +36,19 @@
|
|||
"devDependencies": {
|
||||
"@tailwindcss/typography": "^0.5.16",
|
||||
"chart.js": "^4.4.7",
|
||||
"fuse.js": "^7.0.0",
|
||||
"fuse.js": "^7.1.0",
|
||||
"jquery": "^3.7.1",
|
||||
"katex": "^0.16.21",
|
||||
"lite-youtube-embed": "^0.3.3",
|
||||
"mermaid": "^11.4.1",
|
||||
"packery": "^2.1.2",
|
||||
"prettier": "^3.4.2",
|
||||
"prettier": "^3.5.0",
|
||||
"prettier-plugin-go-template": "^0.0.15",
|
||||
"prettier-plugin-tailwindcss": "^0.6.11",
|
||||
"puppeteer": "^24.1.1",
|
||||
"puppeteer": "^24.2.0",
|
||||
"rimraf": "^6.0.1",
|
||||
"tailwind-scrollbar": "^3.1.0",
|
||||
"tailwindcss": "^3.4.17",
|
||||
"tailwind-scrollbar": "^4.0.0",
|
||||
"tailwindcss": "^4.0.6",
|
||||
"tw-elements": "2.0.0",
|
||||
"typeit": "^8.8.7",
|
||||
"vendor-copy": "^3.0.1"
|
||||
|
|
|
@ -1 +1 @@
|
|||
v0.142.0
|
||||
v0.143.1
|
||||
|
|
Loading…
Add table
Reference in a new issue