|
| 1 | +baseURL: https://kaka-lin.github.io/ |
| 2 | +theme: hugo-theme-pure |
| 3 | +title: Kaka's Note |
| 4 | +defaultContentLanguage: en # en/zh/... |
| 5 | +footnoteReturnLinkContents: ↩ |
| 6 | +hasCJKLanguage: true |
| 7 | +paginate: 7 |
| 8 | +enableEmoji: true |
| 9 | +PygmentsCodeFences: false |
| 10 | +googleAnalytics: "" # UA-XXXXXXXX-X |
| 11 | +permalinks: |
| 12 | + posts: /:year/:month/:filename/ |
| 13 | + |
| 14 | +taxonomies: |
| 15 | + category : categories |
| 16 | + tag : tags |
| 17 | + series : series |
| 18 | +outputFormats: # use for search. recommend not to modify |
| 19 | + SearchIndex: |
| 20 | + mediaType: "application/json" |
| 21 | + baseName: "searchindex" |
| 22 | + isPlainText: true |
| 23 | + notAlternative: true |
| 24 | + |
| 25 | +outputs: |
| 26 | + home: ["HTML","RSS","SearchIndex"] # recommend not to modify |
| 27 | + |
| 28 | +# sitemap |
| 29 | +sitemap: |
| 30 | + changefreq: monthly |
| 31 | + filename: sitemap.xml |
| 32 | + priority: 0.5 |
| 33 | + |
| 34 | +menu: |
| 35 | + main: |
| 36 | + - identifier: home |
| 37 | + name: Home |
| 38 | + title: Home |
| 39 | + url: / |
| 40 | + weight: 1 |
| 41 | + |
| 42 | + - identifier: archives |
| 43 | + name: Archives |
| 44 | + title: Archives |
| 45 | + url: /posts/ |
| 46 | + weight: 2 |
| 47 | + |
| 48 | + - identifier: categories |
| 49 | + name: Categories |
| 50 | + title: Categories |
| 51 | + url: /categories/ |
| 52 | + weight: 3 |
| 53 | + |
| 54 | + - identifier: tags |
| 55 | + name: Tags |
| 56 | + title: Tags |
| 57 | + url: /tags/ |
| 58 | + weight: 4 |
| 59 | + |
| 60 | + - identifier: about |
| 61 | + name: About |
| 62 | + title: About |
| 63 | + url: /about/ |
| 64 | + weight: 5 |
| 65 | + |
| 66 | + |
| 67 | +params: |
| 68 | + since: 2020 |
| 69 | + dateFormatToUse: "2006-01-02" |
| 70 | + enablePostCopyright: True |
| 71 | + # the directory under content folder that you want to render |
| 72 | + mainSections: ["posts"] |
| 73 | + # Enable/Disable menu icons |
| 74 | + # Icon Reference: http://blog.cofess.com/hexo-theme-pure/iconfont/demo_fontclass.html |
| 75 | + enableMathJax: true #Enable mathjax support, to use mathematical notations |
| 76 | + highlightjs: |
| 77 | + langs: ["python", "javascript"] # refer to http://staticfile.org/, search highlight.js, already have highlight.min.js |
| 78 | + |
| 79 | + # Allows you to specify an override stylesheet |
| 80 | + # put custom.css in $hugo_root_dir/static/ |
| 81 | + customCSS: css/custom.css |
| 82 | + |
| 83 | + menuIcons: |
| 84 | + enable: true # navigation |
| 85 | + home: icon-home-fill |
| 86 | + archives: icon-archives-fill |
| 87 | + categories: icon-folder |
| 88 | + tags: icon-tags |
| 89 | + repository: icon-project |
| 90 | + books: icon-book-fill |
| 91 | + links: icon-friendship |
| 92 | + about: icon-cup-fill |
| 93 | + |
| 94 | + # profile |
| 95 | + profile: |
| 96 | + enabled: true # Whether to show profile bar |
| 97 | + avatar: images/kaka.jpg |
| 98 | + gravatar: # Gravatar email address, if you enable Gravatar, your avatar config will be overriden |
| 99 | + author: Kaka Lin |
| 100 | + author_title: Software Engineer |
| 101 | + author_description: AIoT |
| 102 | + location: Taipei, Taiwan |
| 103 | + follow: https://github.com/kaka-lin |
| 104 | + # Social Links |
| 105 | + social: |
| 106 | + links: |
| 107 | + github: https://github.com/kaka-lin |
| 108 | + # twitter: https://twitter.com/ |
| 109 | + # facebook: / |
| 110 | + # rss: /index.xml |
| 111 | + link_tooltip: false # enable the social link tooltip, options: true, false |
| 112 | + # Site |
| 113 | + site: |
| 114 | + logo: |
| 115 | + enabled: true |
| 116 | + width: 40 |
| 117 | + height: 40 |
| 118 | + url: favicon.ico |
| 119 | + title: Kaka's Note # page title |
| 120 | + favicon: favicon.ico |
| 121 | + board: <p></p> # 公告牌 |
| 122 | + |
| 123 | + # Share |
| 124 | + # weibo,qq,qzone,wechat,tencent,douban,diandian,facebook,twitter,google,linkedin |
| 125 | + #share: |
| 126 | + #enable: true |
| 127 | + #sites: weibo,qq,wechat,facebook,twitter |
| 128 | + #mobile_sites: weibo,qq,qzone |
| 129 | + |
| 130 | + # Comment |
| 131 | + comment: |
| 132 | + type: # type disqus/gitalk/valine |
| 133 | + disqus: your_disqus_name # enter disqus shortname here |
| 134 | + gitalk: # gitalk. https://gitalk.github.io/ |
| 135 | + owner: #必須. GitHub repository GitHub User or Organization。 |
| 136 | + admin: #必须. GitHub repository 的所有者和合作者。 |
| 137 | + repo: #必须. GitHub repository. |
| 138 | + ClientID: #必须. GitHub Application Client ID. |
| 139 | + ClientSecret: #必须. GitHub Application Client Secret. |
| 140 | + valine: # Valine. https://valine.js.org |
| 141 | + appid: # your leancloud application appid |
| 142 | + appkey: # your leancloud application appkey |
| 143 | + notify: # mail notifier , https://github.com/xCss/Valine/wiki |
| 144 | + verify: # Verification code |
| 145 | + placeholder: enjoy~ # comment box placeholder |
| 146 | + avatar: mm # gravatar style |
| 147 | + meta: nick,mail # custom comment header |
| 148 | + pageSize: 10 # pagination size |
| 149 | + visitor: false # Article reading statistic https://valine.js.org/visitor.html |
| 150 | + |
| 151 | + # Donate |
| 152 | + donate: |
| 153 | + enable: false |
| 154 | + |
| 155 | + |
| 156 | + # PV |
| 157 | + pv: |
| 158 | + busuanzi: |
| 159 | + enable: false |
| 160 | + leancloud: |
| 161 | + enable: false # leancloud統計 |
| 162 | + app_id: # leancloud <AppID> |
| 163 | + app_key: # leancloud <AppKey> |
| 164 | + |
| 165 | + # wordcount |
| 166 | + postCount: |
| 167 | + enable: true |
| 168 | + wordcount: false # 文章數統計 |
| 169 | + min2read: false # read time 閱讀時長預計 |
| 170 | + |
| 171 | + # config |
| 172 | + config: |
| 173 | + skin: theme-black # theme color default is white. other type [theme-black,theme-blue,theme-green,theme-purple] |
| 174 | + layout: main-center # main-left main-center main-right |
| 175 | + excerpt_link: Read More |
| 176 | + toc: true |
| 177 | + |
| 178 | + # Sidebar |
| 179 | + sidebar: right |
| 180 | + |
| 181 | + # Search |
| 182 | + search: |
| 183 | + enable: true # enable search. thanks for https://raw.githubusercontent.com/ppoffice/hexo-theme-icarus/master/source/js/insight.js |
| 184 | + |
| 185 | + # Sidebar only the following widgets. you can remove any you don't like it. |
| 186 | + widgets: |
| 187 | + - category |
| 188 | + - tag |
| 189 | + - recent_posts |
0 commit comments