mirror of
https://github.com/tiennm99/blog.git
synced 2026-10-11 03:13:10 +00:00
Update configs, social links, and about page content
Refactored Hugo workflow to simplify version handling. Improved .gitignore for better coverage. Removed unused social icons and verification file. Updated site configs for base URL, markup, menu (added GitLab, removed YouTube/X), and comment system. Enhanced about page with current work info and clarified blog purpose.
This commit is contained in:
1 parent
36899b3a43
commit
94100b6a41
12 files changed
+136
-102
No files matched your search
@@ -4,11 +4,6 @@ on:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
hugoVersion:
|
||||
description: "Hugo Version"
|
||||
required: false
|
||||
default: "0.140.2"
|
||||
permissions:
|
||||
contents: read
|
||||
pages: write
|
||||
@@ -26,7 +21,7 @@ jobs:
|
||||
env:
|
||||
DART_SASS_VERSION: 1.83.0
|
||||
GO_VERSION: 1.23.4
|
||||
HUGO_VERSION: ${{ github.event.inputs.hugoVersion || '0.140.2' }}
|
||||
HUGO_VERSION: 0.140.2
|
||||
NODE_VERSION: 22.12.0
|
||||
TZ: Asia/Ho_Chi_Minh
|
||||
steps:
|
||||
@@ -81,7 +76,8 @@ jobs:
|
||||
with:
|
||||
path: ${{ runner.temp }}/hugo_cache
|
||||
key: hugo-${{ github.run_id }}
|
||||
restore-keys: hugo-
|
||||
restore-keys:
|
||||
hugo-
|
||||
- name: Build the site
|
||||
run: |
|
||||
hugo \
|
||||
|
||||
+33
-2
@@ -1,4 +1,35 @@
|
||||
.idea/
|
||||
resources/
|
||||
public/
|
||||
.hugo_build.lock
|
||||
|
||||
|
||||
|
||||
# Compiled Object files, Static and Dynamic libs (Shared Objects)
|
||||
*.o
|
||||
*.a
|
||||
*.so
|
||||
|
||||
# Folders
|
||||
_obj
|
||||
_test
|
||||
|
||||
# Architecture specific extensions/prefixes
|
||||
*.[568vq]
|
||||
[568vq].out
|
||||
|
||||
*.cgo1.go
|
||||
*.cgo2.c
|
||||
_cgo_defun.c
|
||||
_cgo_gotypes.go
|
||||
_cgo_export.*
|
||||
|
||||
_testmain.go
|
||||
|
||||
*.exe
|
||||
*.test
|
||||
|
||||
public
|
||||
themes
|
||||
resources
|
||||
|
||||
assets/jsconfig.json
|
||||
.DS_Store
|
||||
@@ -1 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-brand-twitter"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M22 4.01c-1 .49 -1.98 .689 -3 .99c-1.121 -1.265 -2.783 -1.335 -4.38 -.737s-2.643 2.06 -2.62 3.737v1c-3.245 .083 -6.135 -1.395 -8 -4c0 0 -4.182 7.433 4 11c-1.872 1.247 -3.739 2.088 -6 2c3.308 1.803 6.913 2.423 10.034 1.517c3.58 -1.04 6.522 -3.723 7.651 -7.742a13.84 13.84 0 0 0 .497 -3.753c0 -.249 1.51 -2.772 1.818 -4.013z" /></svg>
|
||||
|
Before Width: | Height: | Size: 655 B |
@@ -1 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-brand-x"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 4l11.733 16h4.267l-11.733 -16z" /><path d="M4 20l6.768 -6.768m2.46 -2.46l6.772 -6.772" /></svg>
|
||||
|
Before Width: | Height: | Size: 415 B |
@@ -1 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-brand-youtube"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M2 8a4 4 0 0 1 4 -4h12a4 4 0 0 1 4 4v8a4 4 0 0 1 -4 4h-12a4 4 0 0 1 -4 -4v-8z" /><path d="M10 9l5 3l-5 3z" /></svg>
|
||||
|
Before Width: | Height: | Size: 438 B |
@@ -1,4 +1,4 @@
|
||||
baseurl: https://miti99.com
|
||||
baseurl: https://miti99.com/
|
||||
languageCode: vi
|
||||
theme: hugo-theme-stack
|
||||
title: miti99
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
goldmark:
|
||||
renderer:
|
||||
unsafe: true
|
||||
extensions:
|
||||
passthrough:
|
||||
enable: true
|
||||
@@ -13,6 +11,8 @@ goldmark:
|
||||
inline:
|
||||
- - \(
|
||||
- \)
|
||||
renderer:
|
||||
unsafe: true
|
||||
|
||||
tableOfContents:
|
||||
endLevel: 4
|
||||
|
||||
@@ -7,32 +7,21 @@ social:
|
||||
params:
|
||||
icon: brand-github
|
||||
|
||||
- identifier: gitlab
|
||||
name: GitLab
|
||||
url: https://gitlab.com/miti99
|
||||
params:
|
||||
icon: brand-gitlab
|
||||
|
||||
- identifier: facebook
|
||||
name: Facebook
|
||||
url: https://facebook.com/miti99
|
||||
params:
|
||||
icon: brand-facebook
|
||||
|
||||
# - identifier: gitlab
|
||||
# name: GitLab
|
||||
# url: https://gitlab.com/miti99
|
||||
# params:
|
||||
# icon: brand-gitlab
|
||||
|
||||
- identifier: linkedin
|
||||
name: LinkedIn
|
||||
url: https://linkedin.com/in/miti99
|
||||
params:
|
||||
icon: brand-linkedin
|
||||
|
||||
# - identifier: youtube
|
||||
# name: YouTube
|
||||
# url: https://youtube.com/@miti99
|
||||
# params:
|
||||
# icon: brand-youtube
|
||||
|
||||
# - identifier: x
|
||||
# name: X
|
||||
# url: https://x.com/tienthieusac
|
||||
# params:
|
||||
# icon: brand-x
|
||||
+83
-65
@@ -21,7 +21,6 @@ sidebar:
|
||||
src: img/avatar.jpg
|
||||
|
||||
article:
|
||||
headingAnchor: false
|
||||
math: false
|
||||
toc: true
|
||||
readingTime: true
|
||||
@@ -29,6 +28,88 @@ article:
|
||||
enabled: true
|
||||
default: Licensed under CC BY-NC-SA 4.0
|
||||
|
||||
comments:
|
||||
enabled: true
|
||||
provider: giscus
|
||||
|
||||
disqusjs:
|
||||
shortname:
|
||||
apiUrl:
|
||||
apiKey:
|
||||
admin:
|
||||
adminLabel:
|
||||
|
||||
utterances:
|
||||
repo:
|
||||
issueTerm: pathname
|
||||
label:
|
||||
|
||||
beaudar:
|
||||
repo:
|
||||
issueTerm: pathname
|
||||
label:
|
||||
theme:
|
||||
|
||||
remark42:
|
||||
host:
|
||||
site:
|
||||
locale:
|
||||
|
||||
vssue:
|
||||
platform:
|
||||
owner:
|
||||
repo:
|
||||
clientId:
|
||||
clientSecret:
|
||||
autoCreateIssue: false
|
||||
|
||||
waline:
|
||||
serverURL:
|
||||
lang:
|
||||
pageview:
|
||||
emoji:
|
||||
- https://unpkg.com/@waline/[email protected]/weibo
|
||||
requiredMeta:
|
||||
- name
|
||||
- email
|
||||
- url
|
||||
locale:
|
||||
admin: Admin
|
||||
placeholder:
|
||||
twikoo:
|
||||
envId:
|
||||
region:
|
||||
path:
|
||||
lang:
|
||||
|
||||
cactus:
|
||||
defaultHomeserverUrl: "https://matrix.cactus.chat:8448"
|
||||
serverName: "cactus.chat"
|
||||
siteName: ""
|
||||
|
||||
giscus:
|
||||
repo: tiennm99/miti99
|
||||
repoID: R_kgDOILzXrw
|
||||
category: Announcements
|
||||
categoryID: DIC_kwDOILzXr84CeYAw
|
||||
mapping: pathname
|
||||
lightTheme: light
|
||||
darkTheme: dark
|
||||
reactionsEnabled: 1
|
||||
emitMetadata: 0
|
||||
|
||||
gitalk:
|
||||
owner:
|
||||
admin:
|
||||
repo:
|
||||
clientID:
|
||||
clientSecret:
|
||||
proxy:
|
||||
|
||||
cusdis:
|
||||
host:
|
||||
id:
|
||||
|
||||
widgets:
|
||||
homepage:
|
||||
- type: search
|
||||
@@ -57,73 +138,10 @@ defaultImage:
|
||||
|
||||
colorScheme:
|
||||
toggle: true
|
||||
default: dark
|
||||
default: auto
|
||||
|
||||
imageProcessing:
|
||||
cover:
|
||||
enabled: true
|
||||
content:
|
||||
enabled: true
|
||||
|
||||
comments:
|
||||
enabled: true
|
||||
provider: giscus
|
||||
disqusjs:
|
||||
shortname: ""
|
||||
apiUrl: ""
|
||||
apiKey: ""
|
||||
admin: ""
|
||||
adminLabel: ""
|
||||
utterances:
|
||||
repo: ""
|
||||
issueTerm: "pathname"
|
||||
label: ""
|
||||
remark42:
|
||||
host: ""
|
||||
site: ""
|
||||
locale: ""
|
||||
vssue:
|
||||
platform: ""
|
||||
owner: ""
|
||||
repo: ""
|
||||
clientId: ""
|
||||
clientSecret: ""
|
||||
autoCreateIssue: false
|
||||
waline:
|
||||
serverURL: ""
|
||||
lang: ""
|
||||
visitor: ""
|
||||
avatar: ""
|
||||
emoji: [ "https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo" ]
|
||||
requiredMeta: [ "name", "email", "url" ]
|
||||
placeholder: ""
|
||||
locale:
|
||||
admin: "Admin"
|
||||
twikoo:
|
||||
envId: ""
|
||||
region: ""
|
||||
path: ""
|
||||
lang: ""
|
||||
cactus:
|
||||
defaultHomeserverUrl: "https://matrix.cactus.chat:8448"
|
||||
serverName: "cactus.chat"
|
||||
siteName: ""
|
||||
giscus:
|
||||
repo: tiennm99/miti99
|
||||
repoID: R_kgDOILzXrw
|
||||
category: Announcements
|
||||
categoryID: DIC_kwDOILzXr84CeYAw
|
||||
mapping: pathname
|
||||
lightTheme: light
|
||||
darkTheme: dark
|
||||
reactionsEnabled: 1
|
||||
emitMetadata: 0
|
||||
gitalk:
|
||||
owner: ""
|
||||
admin: ""
|
||||
repo: ""
|
||||
clientID: ""
|
||||
clientSecret: ""
|
||||
cusdis:
|
||||
host: ""
|
||||
id: ""
|
||||
@@ -4,5 +4,6 @@ toLower: false
|
||||
indices:
|
||||
- name: tags
|
||||
weight: 100
|
||||
|
||||
- name: categories
|
||||
weight: 200
|
||||
@@ -12,13 +12,13 @@ menu:
|
||||
---
|
||||
|
||||
|
||||
Xin chào, mừng bạn đã đến với trang của mình.
|
||||
Xin chào, mừng bạn đã đến với blog của mình.
|
||||
|
||||
Mình tên Minh Tiến, sinh năm 1999 (vì vậy blog là miti99 :)))), sinh viên ngành Khoa học Máy tính khóa 2017 tại trường Đại học Bách Khoa Tp.HCM.
|
||||
Mình tên Minh Tiến, sinh năm 1999 (vì vậy blog là miti99 :)))), sinh viên ngành Khoa học Máy tính khóa 2017 tại trường Đại học Bách Khoa Tp.HCM. Hiện mình đang làm việc tại VNG.
|
||||
|
||||
Mình là một người thích Linux và kiểu mã nguồn mở như thế, hệ điều hành mình đang sử dụng là Archlinux và rất là thích nó.
|
||||
Mình là một người thích Linux (đặc biệt là Archlinux) và các dự án mã nguồn mở. Công việc hiện tại của mình liên quan đến game nên mình không dùng Linux cho desktop nữa. Tuy nhiên vẫn thường vọc vạch trên máy ảo và cloud.
|
||||
|
||||
Blog này được tạo ra với mục đích chia sẻ trải nghiệm của mình, cũng như mẹo để giải quyết một số vấn đề mà mình gặp phải trong quá trình sử dụng Archlinux nhé.
|
||||
Blog này được tạo ra với mục đích chia sẻ trải nghiệm của mình, cũng như cách giải quyết một số vấn đề liên quan đến tech mà mình gặp phải trong công việc và các dự án cá nhân.
|
||||
|
||||
Các liên kết hữu ích có tại [trang chủ](/) của mình.
|
||||
|
||||
@@ -26,5 +26,8 @@ Các bạn có thể liên hệ với mình bằng một trong những cách th
|
||||
|
||||
- [Gmail](mailto:[email protected])
|
||||
- [Outlook](mailto:[email protected])
|
||||
- [LinkedIn](https://linkedin.com/in/miti99)
|
||||
- [Facebook](https://fb.com/tiennm99)
|
||||
- [Fanpage](https://fb.com/miti99)
|
||||
|
||||
Hi vọng bạn sẽ thích blog của mình.
|
||||
@@ -1 +0,0 @@
|
||||
google-site-verification: googlecafba7bebd390cd7.html
|
||||
Reference in new issue
Block a user