Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
liluzibird committed Apr 24, 2024
1 parent eeb4876 commit b5305ba
Show file tree
Hide file tree
Showing 18,481 changed files with 1,987,791 additions and 674 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Empty file added .hugo_build.lock
Empty file.
35 changes: 35 additions & 0 deletions Dockerfile
@@ -0,0 +1,35 @@
###############
# Build Stage #
###############
FROM hugomods/hugo:exts as builder

COPY . /src

ENV HUGO_ENV=production

# Base URL
ARG HUGO_BASEURL=
ENV HUGO_BASEURL=${HUGO_BASEURL}

# Module Proxy
ARG HUGO_MODULE_PROXY=
ENV HUGO_MODULE_PROXY=${HUGO_MODULE_PROXY}

# NPM mirrors, such as https://registry.npmmirror.com
ARG NPM_CONFIG_REGISTRY=
ENV NPM_CONFIG_REGISTRY=${NPM_CONFIG_REGISTRY}

# Install dependencies
RUN npm ci

# Build site
RUN hugo --minify --gc --enableGitInfo

# Set the fallback 404 page if defaultContentLanguageInSubdir is enabled, please replace the `en` with your default language code.
# RUN cp ./public/en/404.html ./public/404.html

###############
# Final Stage #
###############
FROM hugomods/hugo:nginx
COPY --from=builder /src/public /site
696 changes: 22 additions & 674 deletions LICENSE 100644 → 100755

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions README.md
@@ -0,0 +1 @@
bots please don't steal my work
22 changes: 22 additions & 0 deletions archetypes/default.md
@@ -0,0 +1,22 @@
---
# type : docs
title: {{ replace .Name "-" " " | title }}
date: {{ .Date }}
featured: false
draft: true
comment: true
toc: true
reward: true
pinned: false
carousel: false
series:
categories: []
tags: []
images: []
---

Summary.

<!--more-->

Content.
13 changes: 13 additions & 0 deletions archetypes/docs-guide.md
@@ -0,0 +1,13 @@
---
date: {{ .Date }}
title: {{ replace .Name "-" " " | title }}
linkTitle: {{ replace .Name "-" " " | title }}
series:
- Docs
categories:
-
tags:
-
---

This guide show you how to install on ___________.
6 changes: 6 additions & 0 deletions archetypes/docs.md
@@ -0,0 +1,6 @@
---
title: {{ replace .Name "-" " " | title }}
linkTitle: {{ replace .Name "-" " " | title }} # The title of left navigation, optional.
linkTitleIcon: <i class="fas fa-fw fa-cog"></i> # The icon of the link title, optional.
navWeight: 1000 # Upper weight gets higher precedence, optional.
---
1 change: 1 addition & 0 deletions assets/.gitignore
@@ -0,0 +1 @@
jsconfig.json
Binary file added assets/favicon.webp
Binary file not shown.
10 changes: 10 additions & 0 deletions assets/icons/custom.js
@@ -0,0 +1,10 @@
import { faBlog, faBook, faFile, faNewspaper } from '@fortawesome/free-solid-svg-icons';
// import { faAddressBook } from '@fortawesome/free-regular-svg-icons';
// import { faAmazon, faGoogle } from '@fortawesome/free-brands-svg-icons';

const icons = [
faBook, faBlog, faFile, faNewspaper,
// faAddressBook,
// faAmazon, faGoogle,
];
export default icons;
Empty file added assets/main/js/custom.ts
Empty file.
Empty file added assets/main/scss/_custom.scss
Empty file.
4 changes: 4 additions & 0 deletions assets/main/scss/_variables.scss
@@ -0,0 +1,4 @@
// OVERRIDE THE BOOTSTRAP AND THEME SCSS VARIABLES.
// See also https://hbs.razonyang.com/v1/en/docs/advanced/scss-variables/.

// $logo-animation: false;
14 changes: 14 additions & 0 deletions config/_default/author.yaml
@@ -0,0 +1,14 @@
name: Albert Huynh
# avatar: images/profile.png # Avatar image. Default to "images/profile.webp".
bio: 'Arch Linux user, FOSS Advocate, Computer Science Student, Network Security Learner'
company: Santa Ana College # HTML markup are supported, such as: <a href="https://example.com" target="_blank" rel="noopener noreferrer">Company</a>.
location: Earth # HTML markup are supported, such as: <a href='https://www.openstreetmap.org/search?query=Earth'>Earth</a>.
# about: https://razonyang.com # The external about page. The internal about page will be used if not set.
params: {
# layout: compact
}
# See https://hbs.razonyang.com/v1/en/docs/widgets/social-links/.
social:
email: alberth03@protonmail.com
github: liluzibird
rss: "" # Remove RSS
42 changes: 42 additions & 0 deletions config/_default/config.yaml
@@ -0,0 +1,42 @@
baseURL: https://liluzibird.github.io/
title: Blog Dude
theme: github.com/razonyang/hugo-theme-bootstrap
copyright: 'Copyright © 2023-{year} Albert Huynh. All Rights Reserved.'
defaultContentLanguage: en
# hasCJKLanguage: true # Uncomment it if your content contains Chinese/Japanese/Korean Languages.
# defaultContentLanguageInSubdir: true
disableLanguages:
- fr
- zh-cn
- zh-tw
- zh-hans
- es
paginate: 10
# paginatePath: page
enableRobotsTXT: true
enableEmoji: true
pygmentsUseClasses: true
enableGitInfo: true

blackfriday:
hrefTargetBlank: true

taxonomies:
category: categories
series: series
tag: tags
authors: Albert Huynh

build:
writeStats: true

permalinks:
news: /news/:year/:month/:title/
blog: /blog/:year/:month/:title/

# module:
# proxy: https://goproxy.cn

# services:
# disqus:
# shortname: your-disqus-shortname
2 changes: 2 additions & 0 deletions config/_default/config.zh-hans.yaml
@@ -0,0 +1,2 @@
title: Blog Dude
hasCJKLanguage: true
16 changes: 16 additions & 0 deletions config/_default/languages.yaml
@@ -0,0 +1,16 @@
en:
languageName: English
weight: 1

es:
languageName: Spanish
weight: 1

zh-hans:
languageName: 简体中文
weight: 4
params:
description: 一个快速、响应式和功能丰富的 Hugo 博客主题
keywords: 'Hugo, Bootstrap, 博客主题'
archive:
dateFormat: 01-02
38 changes: 38 additions & 0 deletions config/_default/menu.en.yaml
@@ -0,0 +1,38 @@
main:
- name: Source Code
identifier: source
url: https://github.com/liluzibird/liluzibird.github.io
params:
icon: '<i class="fab fa-github"></i>'
# - name: My Website
# identifier: site
# url:
# params:
# icon: '<i class="fas fa-globe"></i>'
# - name: RSS
# identifier: rss
# url: /index.xml
# params:
# icon: '<i class="fas fa-rss"></i>'
- name: Comments
identifier: comments
weight: 9
url: https://github.com/liluzibird/liluzibird.github.io/discussions/categories/giscus
params:
icon: '<i class="fas fa-comments"></i>'
- name: About
identifier: About
weight: 10
url: /about
params:
icon: '<i class="fas fa-info-circle"></i>'
- name: Contact
identifier: contact
url: /contact
params:
icon: '<i class="fas fa-envelope"></i>'
# - name: Copyright
# identifier: copyright
# url: /about#copyright
# params:
# icon: '<i class="far fa-copyright"></i>'
6 changes: 6 additions & 0 deletions config/_default/menu.zh-hans.yaml
@@ -0,0 +1,6 @@
main:
- name: 文档
identifier: documentations
url: https://hbs.razonyang.com/v1/zh-hans/docs/
params:
icon: '<i class="fas fa-fw fa-book"></i>'

0 comments on commit b5305ba

Please sign in to comment.