diff --git a/.gitignore b/.gitignore index 06cd1e8..bad5624 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,4 @@ .idea .vscode -exampleSite/public/ -exampleSite/resources/ *.lock .DS_Store \ No newline at end of file diff --git a/config.yml.example b/config.yml.example index cbae365..067b2d2 100644 --- a/config.yml.example +++ b/config.yml.example @@ -1,64 +1,104 @@ -baseURL: 'https://yourname.github.io/' -languageCode: en-us +baseURL: 'https://hugo-ladder.pages.dev' title: LADDER theme: hugo-theme-ladder license: MIT licenselink: 'https://github.com/guangzhengli/hugo-theme-ladder/blob/master/LICENSE' description: 'A fast, clean Hugo theme' -homepage: 'https://yourname.github.io/' +homepage: 'https://hugo-ladder.pages.dev' +defaultContentLanguage: 'en' googleAnalytics: G-xxx +paginate: 10 +menu: + main: + - name: Blog + url: /blog + weight: 1 + - name: Tags + url: /tags + weight: 2 + - name: Archive + url: /archives + weight: 3 + - name: Guestbook + url: /guestbook + weight: 4 + - name: Dashboard + url: https://umami-ochre-nu.vercel.app/share/R1lHz7QY/hugo-ladder-exampleSite + weight: 5 params: + brand: HOME avatarURL: /images/avatar.png - author: yourname@gmail.com - info: 'site info' + author: Hugo Ladder + authorDescription: A clean, fast hugo theme focused on Reading + info: Ladder is a clean, simple but beautiful theme with awesome features favicon: /images/avatar.png options: showDarkMode: true enableImgZooming: true -# darkModeTheme: icy-dark-mode + enableMultiLang: true darkModeTheme: data-dark-mode + #darkModeTheme: icy-dark-mode comments: - enable: true - repo: yourname/blog-comments - issueTerm: pathname + giscus: + enable: true + repo: username/reponame + repo_id: R_xxx + category: Announcements + category_id: DIC_xxx + mapping: pathname + position: top + lang: en # pick a language from https://github.com/giscus/giscus/tree/main/locales + utteranc: + enable: false + repo: username/reponame + issueTerm: pathname analytics: google: SiteVerificationTag: xxx + umami: + enable: true + website_id: xxx + url: https://umami-ochre-nu.vercel.app/hugo-ladder.js + guestbook: + title: Guestbook + description: Leave a comment below. It could be anything –- question, appreciation, information, or even humor. social: - name: GitHub pre: >- - - url: 'https://github.com/guangzhengli' - - name: Twitter + + url: 'https://github.com/guangzhengli/hugo-theme-ladder' + - name: Dashboard pre: >- - - url: 'https://twitter.com/iguangzhengli' + + url: 'https://umami-ochre-nu.vercel.app/share/R1lHz7QY/hugo-ladder-exampleSite' languages: en: languageName: EN + zh: + languageName: 中 + author: Ladder 主题 + authorDescription: 一个美观,快速并且专注于阅读的主题 + info: 帮助开发者构建一个免费并且漂亮的博客网站,记录自己的思考并且提高自己的影响力 + guestbook: + title: 留言板 + description: 您的评论,会让该网站更精彩! menu: main: - - name: Blog + - name: 文章 url: /blog weight: 1 - - name: Tags + - name: 分类 url: /tags weight: 2 - - name: Archive + - name: 历史文章 url: /archives weight: 3 + - name: 留言板 + url: /guestbook + weight: 4 + - name: 网站统计 + url: https://umami-ochre-nu.vercel.app/share/R1lHz7QY/hugo-ladder-exampleSite + weight: 5 taxonomies: series: series tag: tags