diff --git a/.hugo_build.lock b/.hugo_build.lock new file mode 100644 index 0000000..e69de29 diff --git a/config.yml b/config.yml new file mode 100644 index 0000000..de9bda2 --- /dev/null +++ b/config.yml @@ -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: [""] + 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: "" + favicon32x32: "" + apple_touch_icon: "" + safari_pinned_tab: "" + + # 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 diff --git a/hugo.toml b/hugo.toml deleted file mode 100644 index 7e568b8..0000000 --- a/hugo.toml +++ /dev/null @@ -1,3 +0,0 @@ -baseURL = 'https://example.org/' -languageCode = 'en-us' -title = 'My New Hugo Site' diff --git a/static/c4c.png b/static/c4c.png new file mode 100644 index 0000000..424e64c Binary files /dev/null and b/static/c4c.png differ diff --git a/static/favicon.ico b/static/favicon.ico new file mode 100644 index 0000000..896609b Binary files /dev/null and b/static/favicon.ico differ