Add homepage

This commit is contained in:
Late Night Defender 2023-11-23 03:16:24 +07:00
parent 29174659ca
commit a77b08b0ec
5 changed files with 109 additions and 3 deletions

0
.hugo_build.lock Normal file
View file

109
config.yml Normal file
View file

@ -0,0 +1,109 @@
baseURL: https://c4c.techtransthai.org/
languageCode: en-us
title: Compute4Change
theme: "PaperMod"
enableRobotsTXT: true
buildDrafts: false
buildFuture: false
buildExpired: false
minify:
disableXML: true
minifyOutput: true
params:
env: production # to enable google analytics, opengraph, twitter-cards and schema.
title: Compute4Change
description: "อัปเดตความเคลื่อนไหวสำคัญจากวงการ BOINC ในภาษาไทย อ่านง่าย เข้าใจได้ทันที"
keywords: [Blog, BOINC, PaperMod, Compute4Change, TechTransThai]
author: latenightdef
# author: ["Me", "You"] # multiple authors
images: ["<link or path of image for opengraph, twitter-cards>"]
DateFormat: "January 2, 2006"
defaultTheme: auto # dark, light
disableThemeToggle: true
ShowReadingTime: true
ShowShareButtons: true
ShowPostNavLinks: true
ShowBreadCrumbs: true
ShowCodeCopyButtons: false
ShowWordCount: true
ShowRssButtonInSectionTermList: true
UseHugoToc: true
disableSpecial1stPost: false
disableScrollToTop: false
comments: false
hidemeta: false
hideSummary: false
showtoc: false
tocopen: false
assets:
# disableHLJS: true # to disable highlight.js
# disableFingerprinting: true
favicon: "/favicon.ico"
favicon16x16: "<link / abs url>"
favicon32x32: "<link / abs url>"
apple_touch_icon: "<link / abs url>"
safari_pinned_tab: "<link / abs url>"
# home-info mode
homeInfoParams:
Title: "อัปเดตความเคลื่อนไหวสำคัญจากวงการ BOINC ในภาษาไทย อ่านง่าย เข้าใจได้ทันที"
Content: >
- และร่วมสนับสนุนงานวิจัยระดับโลกง่าย ๆ ด้วยอุปกรณ์ในมือคุณ
socialIcons:
- name: fediverse
url: "https://a-social.techtransthai.org/@compute4change"
- name: codeberg
url: "https://codeberg.org/TechTransThai/compute4change-news"
cover:
hidden: true # hide everywhere but not in structured data
hiddenInList: true # hide on list pages and home
hiddenInSingle: true # hide on single page
editPost:
URL: "https://codeberg.org/TechTransThai/compute4change-news/content"
Text: "Suggest Changes" # edit text
appendFilePath: true # to append file path to Edit link
# for search
# https://fusejs.io/api/options.html
fuseOpts:
isCaseSensitive: false
shouldSort: true
location: 0
distance: 1000
threshold: 0.4
minMatchCharLength: 0
keys: ["title", "permalink", "summary", "content"]
menu:
main:
- identifier: articles
name: บทความ
url: /categories/
weight: 10
- identifier: stats
name: สถิติ
url: /tags/
weight: 20
- identifier: project
name: ค้นหาโปรเจกต์
url: /followus/
weight: 30
# Read: https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#using-hugos-syntax-highlighter-chroma
pygmentsUseClasses: true
markup:
highlight:
noClasses: false
# anchorLineNos: true
# codeFences: true
# guessSyntax: true
# lineNos: true
# style: monokai

View file

@ -1,3 +0,0 @@
baseURL = 'https://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'

BIN
static/c4c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

BIN
static/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB