参考手册

HEXO:https://hexo.io/zh-cn/

NEXT:http://theme-next.iissnan.com/

安装hexo

npm install hexo-cli -g

或者可以局部安装 hexo

npm install hexo -S

初始化博客

hexo init xxx

或者进入到一个空文件夹里,执行:hexo init

网站配置文件详解

  1. # Hexo Configuration
  2. ## Docs: https://hexo.io/docs/configuration.html
  3. ## Source: https://github.com/hexojs/hexo/
  4. # Site
  5. title: Hexo # 网站的标题,可能用在各种布局的页面中
  6. subtitle: # 网站子标题
  7. description: # 网站的描述性
  8. keywords: # 网站的关键字
  9. author: John Doe # 网站的作者
  10. language: # 网站采用语言,要跟/theme/***/languages/**.yml下的文件名对应。
  11. timezone: # 网站的时区
  12. # URL
  13. ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
  14. url: http://yoursite.com # 网站的url,如果不在域名根目录,应包含子目录,且root要设置为`/子目录/`
  15. root: / # 网站的根目录
  16. permalink: :year/:month/:day/:title/ #文章永久链接的形成模版。每一篇文章都有唯一的url。
  17. permalink_defaults: #文章永久链接中,各部分的默认值。
  18. # Directory
  19. source_dir: source # 网站中源文件(比如Markdown啊什么的所在的文件夹)
  20. public_dir: public # 生成的静态网站的目录
  21. tag_dir: tags # 标签页所在的文件夹。
  22. archive_dir: archives # 文档页所在的文件夹
  23. category_dir: categories # 类别也所在的文件夹
  24. code_dir: downloads/code # 代码也所在的文件夹
  25. i18n_dir: :lang # 国际语言所在的文件夹
  26. skip_render: # 忽略文档清单
  27. # Writing 写作
  28. new_post_name: :title.md # 默认新建文档名,`:title`为变量,指文档标题,也可用其他变量
  29. default_layout: post # 新建文档的默认布局
  30. titlecase: false # 是否要把标题中的首字符大写
  31. external_link: true # 是否要在新开tab中打开外链
  32. filename_case: 0 # 文件名是否小写敏感
  33. render_drafts: false # 是否渲染草稿
  34. post_asset_folder: false # 是否启用资源文件夹。如启用,新建文档同时建立同名的资源文件夹
  35. relative_link: false # 是否把站内资源的链接改为站内相对链接。建议关闭。
  36. future: true # 文档中指定为未来时间创建
  37. highlight:
  38. enable: true # 是否开启代码高亮功能
  39. line_number: true # 代码块中是否在前面加上行号
  40. auto_detect: false # 是否自动检测代码块的语言(比如xml、JavaScript、mermaid等)
  41. tab_replace: # 用什么字符来代替tab(`\t`)字符。
  42. # Home page setting
  43. # path: Root path for your blogs index page. (default = '')
  44. # per_page: Posts displayed per page. (0 = disable pagination)
  45. # order_by: Posts order. (Order by date descending by default)
  46. index_generator:
  47. path: '' # 主页所在路径,默认为''
  48. per_page: 10 # 主页的索引页包含文章数量,如未定义,则采用根目录下的`per_page`值
  49. order_by: -date # 文章(Post类型)排序属性,`-`为降序
  50. # Category & Tag
  51. default_category: uncategorized # 对文档的默认分类
  52. category_map: # 对文档中的分类字段进行映射。建立分类文件夹时采用映射后的字符串
  53. tag_map: # 对文档中的标签字段进行映射。建立标签文件夹时采用映射后的字符串
  54. # Date / Time format
  55. ## Hexo uses Moment.js to parse and display date
  56. ## You can customize the date format as defined in
  57. ## http://momentjs.com/docs/#/displaying/format/
  58. date_format: YYYY-MM-DD # 日期格式
  59. time_format: HH:mm:ss # 时间格式
  60. # Pagination
  61. ## Set per_page to 0 to disable pagination
  62. per_page: 10 # 主页/分类/标签/存档等类型索引页包含文章数量
  63. pagination_dir: page # 分页所在文件夹
  64. # Extensions # 扩展。放置插件和主题
  65. ## Plugins: https://hexo.io/plugins/
  66. ## Themes: https://hexo.io/themes/
  67. theme: landscape # 默认主题landscape
  68. # Deployment
  69. ## Docs: https://hexo.io/docs/deployment.html
  70. deploy: # 定义部署
  71. type:

hexo 常用命令

hexo clean:清理

hexo generate:生成

hexo deploy:部署

hexo serve:开启本地服务器

部署到 github

下载 Next 主题

  1. cd your-hexo-site
  2. git clone https://github.com/iissnan/hexo-theme-next themes/next

将站点配置文件中的theme改成next:

  1. theme: next

Next主题配置文件

  1. # ---------------------------------------------------------------
  2. # 主题核心配置
  3. # ---------------------------------------------------------------
  4. override: false # 设置为true,则完全重载默认配置,当你完全不想继承主题配置时很有用
  5. # ---------------------------------------------------------------
  6. # 站点信息设置
  7. # ---------------------------------------------------------------
  8. favicon: # favicon升级了,细化各种规格。
  9. small: /images/favicon-16x16-next.png
  10. medium: /images/favicon-32x32-next.png # medium类型应用`/favicon.ico`,否则网站图标异常
  11. apple_touch_icon: /images/apple-touch-icon-next.png
  12. safari_pinned_tab: /images/logo.svg
  13. #android_manifest: /images/manifest.json
  14. #ms_browserconfig: /images/browserconfig.xml
  15. keywords: "Hexo, NexT" # 网站默认关键词
  16. rss: # rss配置。false禁止;留空提供站点提供的;也可以自己指定
  17. footer: # footer块配置
  18. #since: 2015 # 网站建站年份,如果不配,采用当前年份
  19. icon: user # 年份和版权声明之间的图标
  20. copyright: # 版权声明。如为空,则取站点配置的`author`值。
  21. powered: true # 显示Hexo的链接(Power by Hexo)
  22. theme: # 在footer块中显示主题信息
  23. enable: true # 显示主题信息
  24. version: true # 显示主题的版本。
  25. # 可以采用下面定制的文本
  26. #custom_text: Hosted by <a target="_blank" href="https://pages.github.com">GitHub Pages</a>
  27. # ---------------------------------------------------------------
  28. # SEO设置
  29. # ---------------------------------------------------------------
  30. # 标记为权威网站,有利于SEO搜索。如果打开该标签,务必在站点配置中设置url。
  31. canonical: true
  32. seo: false
  33. # 如果index_with_subtitle为true,则在主页标题中增加subtitle。
  34. # subtitle: Subtitle # 此处也可以覆写,它会替代站点配置文件中的内容
  35. index_with_subtitle: false
  36. # ---------------------------------------------------------------
  37. # 菜单设置
  38. # ---------------------------------------------------------------
  39. # 用法: `Key: /link/ || icon`
  40. # Key 菜单名,如果语言文件中有对应项,则用对应项,否则就用菜单名。
  41. # `||` 前面部分,表示目标链接。
  42. # `||` 后面部分,表示菜单的FontAwesome图标名。默认为question图标。
  43. menu:
  44. home: / || home # 主页链接及其图标
  45. #about: /about/ || user # 关于页链接及其图标
  46. #tags: /tags/ || tags # 标签页链接及其图标
  47. #categories: /categories/ || th # 分类页链接及其图标
  48. archives: /archives/ || archive # 归档页及其图标
  49. #schedule: /schedule/ || calendar
  50. #sitemap: /sitemap.xml || sitemap
  51. #commonweal: /404/ || heartbeat
  52. menu_icons:
  53. enable: true # 是否启用图标
  54. # ---------------------------------------------------------------
  55. # 主题的主题设置
  56. # ---------------------------------------------------------------
  57. # 只能选择一套。
  58. # Schemes
  59. scheme: Muse
  60. #scheme: Mist
  61. #scheme: Pisces
  62. #scheme: Gemini
  63. # ---------------------------------------------------------------
  64. # 侧边栏设置
  65. # ---------------------------------------------------------------
  66. # 社交链接
  67. # 用法: `Key: permalink || icon`
  68. # Key 是最终显示的标签,`||` 前是永久链接,`||` 后面是标签的FontAwesome图标,默认glob
  69. #social:
  70. #GitHub: https://github.com/yourname || github
  71. #E-Mail: mailto:yourname@gmail.com || envelope
  72. #Google: https://plus.google.com/yourname || google
  73. #Twitter: https://twitter.com/yourname || twitter
  74. #FB Page: https://www.facebook.com/yourname || facebook
  75. #VK Group: https://vk.com/yourname || vk
  76. #StackOverflow: https://stackoverflow.com/yourname || stack-overflow
  77. #YouTube: https://youtube.com/yourname || youtube
  78. #Instagram: https://instagram.com/yourname || instagram
  79. #Skype: skype:yourname?call|chat || skype
  80. social_icons:
  81. enable: true # 是否在社交链接标签上显示图标
  82. icons_only: false # 只显示图标
  83. transition: false # 是否显示过渡效果
  84. # 友情链接
  85. links_icon: link # 链接图标
  86. links_title: Links # 链接标签文字
  87. links_layout: block # 链接样式
  88. #links_layout: inline
  89. #links: # 一个一个的友情链接。用法为`标题: 链接`
  90. #Title: http://example.com/
  91. # Sidebar Avatar # 侧边栏上个人头像图片。也支持是动态gif。
  92. #avatar: /images/avatar.gif
  93. # 在侧边栏中是否显示文章标题目录。
  94. toc:
  95. enable: true # 是否
  96. number: true # 是否自动编号
  97. wrap: false # 标题目录是否自动换行
  98. # 创作声明
  99. # http://creativecommons.org/
  100. # Available: by | by-nc | by-nc-nd | by-nc-sa | by-nd | by-sa | zero
  101. #creative_commons: by-nc-sa
  102. #creative_commons:
  103. sidebar:
  104. # 侧边栏位置: left | right (只有Pisces、Gemini有效).
  105. position: left
  106. #position: right
  107. # 侧边栏显示 (只对Muse、Mist有效)
  108. display: post # 默认,在post文章扩展时显示。
  109. #display: always # 对所有页面都显示
  110. #display: hide # 只有点击按钮显示
  111. #display: remove # 完全删除,不显示
  112. # 侧边栏距离顶部菜单条的距离,单位像素(只对Pisces、Gemini有效).
  113. offset: 12
  114. b2t: false # 在侧边栏下方是否显示回到顶部(只对Pisces、Gemini有效).
  115. scrollpercent: false # 是否显示滚动百分比
  116. onmobile: false # 是否在窄屏设备上显示侧边栏 (只对 Muse | Mist有效).
  117. # ---------------------------------------------------------------
  118. # 文章设置(post类型)
  119. # ---------------------------------------------------------------
  120. scroll_to_more: true # 自动折叠<!--more-->下面的正文部分
  121. save_scroll: false # 自动为每篇文章保存滚动位置
  122. # Automatically excerpt description in homepage as preamble text.
  123. excerpt_description: true
  124. # 自动摘要,不建议。请使用<!-- more -->精确控制
  125. auto_excerpt:
  126. enable: false # 启动开关
  127. length: 150 # 从开始往后选取的摘要文字数量。
  128. # 摘要元数据
  129. post_meta:
  130. item_text: true # 是否显示“发表于”这几个文字
  131. created_at: true # 文章创建日期
  132. updated_at: false # 文章修改日期
  133. categories: true # 文章所属分类
  134. post_wordcount: # 字数统计。依赖https://github.com/willin/hexo-wordcount
  135. item_text: true # 是否显示文字
  136. wordcount: false # 显示字数
  137. min2read: false # 显示阅读时间
  138. totalcount: false # 显示总数
  139. separated_meta: true # 是否分开
  140. #wechat_subscriber: # 微信公众号订阅
  141. #enabled: true # 是否启用
  142. #qcode: # 二维码图片链接
  143. #description: # 描述性文字,会放在二维码上方
  144. # 打赏
  145. #reward_comment: # 打赏文字
  146. #wechatpay: /images/wechatpay.jpg # 微信打赏二维码
  147. #alipay: /images/alipay.jpg # 支付宝打赏二维码
  148. #bitcoin: /images/bitcoin.png # 比特币打赏二维码
  149. post_copyright:
  150. enable: false # 文档许可声明
  151. license: CC BY-NC-SA 3.0 # 文档声明协议
  152. license_url: https://creativecommons.org/licenses/by-nc-sa/3.0/
  153. # ---------------------------------------------------------------
  154. # Misc 主题专用设置
  155. # ---------------------------------------------------------------
  156. # Reduce padding / margin indents on devices with narrow width.
  157. mobile_layout_economy: false
  158. # Android Chrome header panel color ($black-deep).
  159. android_chrome_color: "#222"
  160. # 定制Logo,只对默认Muse有效。
  161. # Options:
  162. # enabled: [true/false] - # 是否启用
  163. # image: url-of-image - # 图片url
  164. custom_logo:
  165. enabled: false
  166. image:
  167. # 代码高亮主题。可选值normal | night | night eighties | night blue | night bright
  168. highlight_theme: normal
  169. # ---------------------------------------------------------------
  170. # 字体设置儿
  171. # - 请从谷歌查找字体
  172. # - 所有字体必须具有下列样式
  173. # light, light italic, normal, normal italic, bold, bold italic
  174. font:
  175. enable: false # 是否启用
  176. host: # 字体host地址
  177. # Font options: # 字体选项
  178. # `external: true` # true,则会从上面的host地址装载
  179. # `family: Times New Roman`.
  180. # `size: xx`. 单位是`px`.
  181. # 在<body>元素中设置全局字体
  182. global:
  183. external: true
  184. family: Lato
  185. size:
  186. # 标题(h1~h6字体,有global字体设置托底)
  187. headings:
  188. external: true
  189. family:
  190. size:
  191. # post文章字体,有global字体设置托底
  192. posts:
  193. external: true
  194. family:
  195. # logo字体设置,有global字体设置托底
  196. logo:
  197. external: true
  198. family:
  199. size:
  200. # 代码块字体
  201. codes:
  202. external: true
  203. family:
  204. size:
  205. # ---------------------------------------------------------------
  206. # 第三方服务设置
  207. # ---------------------------------------------------------------
  208. # MathJax数学公式设置
  209. mathjax:
  210. enable: false
  211. per_page: false
  212. cdn: //cdn.bootcss.com/mathjax/2.7.1/latest.js?config=TeX-AMS-MML_HTMLorMML
  213. # Han Support docs: https://hanzi.pro/
  214. han: false
  215. # Swiftype Search API Key
  216. #swiftype_key:
  217. #baidu_analytics: # 百度分析的id
  218. #duoshuo_shortname: # 多说的shorname
  219. # Disqus Disqus评论支持
  220. disqus:
  221. enable: false
  222. shortname:
  223. count: true
  224. # Hypercomments
  225. #hypercomments_id:
  226. # 畅言
  227. changyan:
  228. enable: false
  229. appid:
  230. appkey:
  231. # 韩国来必力网站评论系统.https://valine.js.org
  232. valine:
  233. enable: false
  234. appid: # your leancloud application appid
  235. appkey: # your leancloud application appkey
  236. notify: false # mail notifier , https://github.com/xCss/Valine/wiki
  237. verify: false # Verification code
  238. placeholder: Just go go # comment box placeholder
  239. avatar: mm # gravatar style
  240. guest_info: nick,mail,link # custom comment header
  241. pageSize: 10 # pagination size
  242. # 友言评论
  243. #youyan_uid: your uid
  244. # LiveRe评论系统。从https://livere.com/insight/myCode获取uid
  245. #livere_uid: your uid
  246. # Gitment评论系统。https://imsun.net/posts/gitment-introduction/
  247. # You can get your Github ID from https://api.github.com/users/<Github username>
  248. gitment:
  249. enable: false
  250. mint: true # RECOMMEND, A mint on Gitment, to support count, language and proxy_gateway
  251. count: true # Show comments count in post meta area
  252. lazy: false # Comments lazy loading with a button
  253. cleanly: false # Hide 'Powered by ...' on footer, and more
  254. language: # Force language, or auto switch by theme
  255. github_user: # MUST HAVE, Your Github ID
  256. github_repo: # MUST HAVE, The repo you use to store Gitment comments
  257. client_id: # MUST HAVE, Github client id for the Gitment
  258. client_secret: # EITHER this or proxy_gateway, Github access secret token for the Gitment
  259. proxy_gateway: # Address of api proxy, See: https://github.com/aimingoo/intersect
  260. redirect_protocol: # Protocol of redirect_uri with force_redirect_protocol when mint enabled
  261. # Baidu Share
  262. # Available value:
  263. # button | slide
  264. # Warning: Baidu Share does not support https.
  265. #baidushare:
  266. ## type: button
  267. # Share
  268. # This plugin is more useful in China, make sure you known how to use it.
  269. # And you can find the use guide at official webiste: http://www.jiathis.com/.
  270. # Warning: JiaThis does not support https.
  271. #jiathis:
  272. ##uid: Get this uid from http://www.jiathis.com/
  273. #add_this_id:
  274. # Share
  275. #duoshuo_share: true
  276. # NeedMoreShare2
  277. # This plugin is a pure javascript sharing lib which is useful in China.
  278. # See: https://github.com/revir/need-more-share2
  279. # Also see: https://github.com/DzmVasileusky/needShareButton
  280. # iconStyle: default | box
  281. # boxForm: horizontal | vertical
  282. # position: top / middle / bottom + Left / Center / Right
  283. # networks: Weibo,Wechat,Douban,QQZone,Twitter,Linkedin,Mailto,Reddit,
  284. # Delicious,StumbleUpon,Pinterest,Facebook,GooglePlus,Slashdot,
  285. # Technorati,Posterous,Tumblr,GoogleBookmarks,Newsvine,
  286. # Evernote,Friendfeed,Vkontakte,Odnoklassniki,Mailru
  287. needmoreshare2:
  288. enable: false
  289. postbottom:
  290. enable: false
  291. options:
  292. iconStyle: box
  293. boxForm: horizontal
  294. position: bottomCenter
  295. networks: Weibo,Wechat,Douban,QQZone,Twitter,Facebook
  296. float:
  297. enable: false
  298. options:
  299. iconStyle: box
  300. boxForm: horizontal
  301. position: middleRight
  302. networks: Weibo,Wechat,Douban,QQZone,Twitter,Facebook
  303. # Google Webmaster tools verification setting
  304. # See: https://www.google.com/webmasters/
  305. #google_site_verification:
  306. # Google Analytics
  307. #google_analytics:
  308. # Bing Webmaster tools verification setting
  309. # See: https://www.bing.com/webmaster/
  310. #bing_site_verification:
  311. # Yandex Webmaster tools verification setting
  312. #yandex_site_verification:
  313. # CNZZ count
  314. #cnzz_siteid:
  315. # Application Insights
  316. # See https://azure.microsoft.com/en-us/services/application-insights/
  317. # application_insights:
  318. # Make duoshuo show UA
  319. # user_id must NOT be null when admin_enable is true!
  320. # you can visit http://dev.duoshuo.com get duoshuo user id.
  321. duoshuo_info:
  322. ua_enable: true
  323. admin_enable: false
  324. user_id: 0
  325. #admin_nickname: Author
  326. # Post widgets & FB/VK comments settings.
  327. # ---------------------------------------------------------------
  328. # Facebook SDK Support.
  329. # https://github.com/iissnan/hexo-theme-next/pull/410
  330. facebook_sdk:
  331. enable: false
  332. app_id: #<app_id>
  333. fb_admin: #<user_id>
  334. like_button: #true
  335. webmaster: #true
  336. # Facebook comments plugin
  337. # This plugin depends on Facebook SDK.
  338. # If facebook_sdk.enable is false, Facebook comments plugin is unavailable.
  339. facebook_comments_plugin:
  340. enable: false
  341. num_of_posts: 10 # min posts num is 1
  342. width: 100% # default width is 550px
  343. scheme: light # default scheme is light (light or dark)
  344. # VKontakte API Support.
  345. # To get your AppID visit https://vk.com/editapp?act=create
  346. vkontakte_api:
  347. enable: false
  348. app_id: #<app_id>
  349. like: true
  350. comments: true
  351. num_of_posts: 10
  352. # Star rating support to each article.
  353. # To get your ID visit https://widgetpack.com
  354. rating:
  355. enable: false
  356. id: #<app_id>
  357. color: fc6423
  358. # ---------------------------------------------------------------
  359. # Show number of visitors to each article.
  360. # You can visit https://leancloud.cn get AppID and AppKey.
  361. leancloud_visitors:
  362. enable: false
  363. app_id: #<app_id>
  364. app_key: #<app_key>
  365. # Another tool to show number of visitors to each article.
  366. # visit https://console.firebase.google.com/u/0/ to get apiKey and projectId
  367. # visit https://firebase.google.com/docs/firestore/ to get more information about firestore
  368. firestore:
  369. enable: false
  370. collection: articles #required, a string collection name to access firestore database
  371. apiKey: #required
  372. projectId: #required
  373. bluebird: false #enable this if you want to include bluebird 3.5.1(core version) Promise polyfill
  374. # Show PV/UV of the website/page with busuanzi.
  375. # Get more information on http://ibruce.info/2015/04/04/busuanzi/
  376. busuanzi_count:
  377. # count values only if the other configs are false
  378. enable: false
  379. # custom uv span for the whole site
  380. site_uv: true
  381. site_uv_header: <i class="fa fa-user"></i>
  382. site_uv_footer:
  383. # custom pv span for the whole site
  384. site_pv: true
  385. site_pv_header: <i class="fa fa-eye"></i>
  386. site_pv_footer:
  387. # custom pv span for one page only
  388. page_pv: true
  389. page_pv_header: <i class="fa fa-file-o"></i>
  390. page_pv_footer:
  391. # Tencent analytics ID
  392. # tencent_analytics:
  393. # Tencent MTA ID
  394. # tencent_mta:
  395. # Enable baidu push so that the blog will push the url to baidu automatically which is very helpful for SEO
  396. baidu_push: false
  397. # Google Calendar
  398. # Share your recent schedule to others via calendar page
  399. #
  400. # API Documentation:
  401. # https://developers.google.com/google-apps/calendar/v3/reference/events/list
  402. calendar:
  403. enable: false
  404. calendar_id: <required>
  405. api_key: <required>
  406. orderBy: startTime
  407. offsetMax: 24
  408. offsetMin: 4
  409. timeZone:
  410. showDeleted: false
  411. singleEvents: true
  412. maxResults: 250
  413. # Algolia Search
  414. algolia_search:
  415. enable: false
  416. hits:
  417. per_page: 10
  418. labels:
  419. input_placeholder: Search for Posts
  420. hits_empty: "We didn't find any results for the search: ${query}"
  421. hits_stats: "${hits} results found in ${time} ms"
  422. # Local search
  423. # Dependencies: https://github.com/flashlab/hexo-generator-search
  424. local_search:
  425. enable: false
  426. # if auto, trigger search by changing input
  427. # if manual, trigger search by pressing enter key or search button
  428. trigger: auto
  429. # show top n results per article, show all results by setting to -1
  430. top_n_per_article: 1
  431. # ---------------------------------------------------------------
  432. # 标签设置
  433. # ---------------------------------------------------------------
  434. # 对外链采用BASE64进行加密解密
  435. # 用法: {% exturl text url "title" %}
  436. # 别名: {% extlink text url "title" %}
  437. exturl: false # 是否对外链进行加密解密
  438. # Note tag (bs-callout).
  439. note:
  440. # Note tag style values:
  441. # - simple bs-callout old alert style. Default.
  442. # - modern bs-callout new (v2-v3) alert style.
  443. # - flat flat callout style with background, like on Mozilla or StackOverflow.
  444. # - disabled disable all CSS styles import of note tag.
  445. style: simple
  446. icons: false
  447. border_radius: 3
  448. # Offset lighter of background in % for modern and flat styles (modern: -12 | 12; flat: -18 | 6).
  449. # Offset also applied to label tag variables. This option can work with disabled note tag.
  450. light_bg_offset: 0
  451. # Label tag.
  452. label: true
  453. # Tabs tag.
  454. tabs:
  455. enable: true
  456. transition:
  457. tabs: false
  458. labels: true
  459. border_radius: 0
  460. #! ---------------------------------------------------------------
  461. #! 下面慎重修改,除非你指定它的意义
  462. #! ---------------------------------------------------------------
  463. # Use velocity to animate everything.
  464. motion:
  465. enable: true
  466. async: false
  467. transition:
  468. # Transition variants:
  469. # fadeIn | fadeOut | flipXIn | flipXOut | flipYIn | flipYOut | flipBounceXIn | flipBounceXOut | flipBounceYIn | flipBounceYOut
  470. # swoopIn | swoopOut | whirlIn | whirlOut | shrinkIn | shrinkOut | expandIn | expandOut
  471. # bounceIn | bounceOut | bounceUpIn | bounceUpOut | bounceDownIn | bounceDownOut | bounceLeftIn | bounceLeftOut | bounceRightIn | bounceRightOut
  472. # slideUpIn | slideUpOut | slideDownIn | slideDownOut | slideLeftIn | slideLeftOut | slideRightIn | slideRightOut
  473. # slideUpBigIn | slideUpBigOut | slideDownBigIn | slideDownBigOut | slideLeftBigIn | slideLeftBigOut | slideRightBigIn | slideRightBigOut
  474. # perspectiveUpIn | perspectiveUpOut | perspectiveDownIn | perspectiveDownOut | perspectiveLeftIn | perspectiveLeftOut | perspectiveRightIn | perspectiveRightOut
  475. post_block: fadeIn
  476. post_header: slideDownIn
  477. post_body: slideDownIn
  478. coll_header: slideLeftIn
  479. # Only for Pisces | Gemini.
  480. sidebar: slideUpIn
  481. # Fancybox
  482. fancybox: true
  483. # Progress bar in the top during page loading.
  484. pace: false
  485. # Themes list:
  486. #pace-theme-big-counter
  487. #pace-theme-bounce
  488. #pace-theme-barber-shop
  489. #pace-theme-center-atom
  490. #pace-theme-center-circle
  491. #pace-theme-center-radar
  492. #pace-theme-center-simple
  493. #pace-theme-corner-indicator
  494. #pace-theme-fill-left
  495. #pace-theme-flash
  496. #pace-theme-loading-bar
  497. #pace-theme-mac-osx
  498. #pace-theme-minimal
  499. # For example
  500. # pace_theme: pace-theme-center-simple
  501. pace_theme: pace-theme-minimal
  502. # Canvas-nest
  503. canvas_nest: false
  504. # three_waves
  505. three_waves: false
  506. # canvas_lines
  507. canvas_lines: false
  508. # canvas_sphere
  509. canvas_sphere: false
  510. # Only fit scheme Pisces
  511. # Canvas-ribbon
  512. # size: The width of the ribbon.
  513. # alpha: The transparency of the ribbon.
  514. # zIndex: The display level of the ribbon.
  515. canvas_ribbon:
  516. enable: false
  517. size: 300
  518. alpha: 0.6
  519. zIndex: -1
  520. # 脚本提供者设置。
  521. # 为js文件指定CDN,加快加载速度
  522. # 注意,CDN版本一致。如果CDN提供https,无别加上https协议。
  523. vendors:
  524. _internal: lib # 本网站提供脚本的路径,不要轻易修改。
  525. jquery: https://cdn.bootcss.com/jquery/2.1.3/jquery.min.js # 内部版本2.1.3。CDN版本应一致
  526. fancybox: # 内部版本2.1.5。
  527. fancybox_css:
  528. fastclick: # 内部版本1.0.6。
  529. lazyload: # 内部版本1.9.7。
  530. velocity: # 内部版本1.2.1。
  531. velocity_ui: # 内部版本1.2.1。
  532. ua_parser: # 内部版本0.7.9。
  533. fontawesome: # 内部版本4.6.2
  534. algolia_instant_js: fontawesome: # 内部版本 1
  535. algolia_instant_css:
  536. pace: # 内部版本 1.0.2。
  537. pace_css:
  538. canvas_nest: # 内部版本 1.0.0
  539. three: # 3D脚本库,未指定内部版本
  540. three_waves: # 未指定内部版本
  541. canvas_lines: # 未指定内部版本
  542. canvas_sphere: # 未指定内部版本
  543. canvas_ribbon: # 内部版本 1.0.0
  544. han: # 内部版本 3.3.0
  545. needMoreShare2: # 未指定内部版本
  546. # 资源种类
  547. css: css
  548. js: js
  549. images: images
  550. # Theme version
  551. version: 5.1.4

hexo 搭建静态博客 + Next 主题配置的更多相关文章

  1. 使用github和hexo搭建静态博客

    获得更多资料欢迎进入我的网站或者 csdn或者博客园 终于写这篇文章了,这是我使用github和hexo搭建博客的一些心得,希望能给大家一点帮助.少走点弯路.刚接触github,只是用来存项目的版本, ...

  2. Linux下使用 github+hexo 搭建个人博客07-next主题接入搜索和站点管理

    这是搭建个人博客系统系列文章的最后一篇,如果你是从第一篇一路跟下来的,那么恭喜你,即将完成整个博客网站的搭建.OK,话不多说,开始我们的收官之战. 不知你想过没有,如果我们的文章少,一眼看完整个目录, ...

  3. Linux下使用 github+hexo 搭建个人博客05-next主题接入评论系统

    静态站点拥有一定的局限性,因此我们需要借助于第三方服务来扩展我们站点的功能. 而评论系统是最常用于和网站用户交流的,因此本章讲解在 next 主题,如何接入评论系统. 参考网站:Next 使用文档,第 ...

  4. Linux下使用 github+hexo 搭建个人博客04-next主题优化

    上篇我们说了 hexo 的优化,针对的站点的优化. 本篇讲解 next 主题的优化,包括:使用语言.前端页面显示宽度.菜单.侧栏.头像.添加或取消动画效果.打赏功能等等. 让页面排版更符合我们所要的功 ...

  5. Hexo搭建静态博客踩坑日记(二)

    前言 Hexo搭建静态博客踩坑日记(一), 我们说到利用Hexo快速搭建静态博客. 这节我们就来说一下主题的问题与主题的基本修改操作. 起步 chrome github hexo git node.j ...

  6. Hexo搭建静态博客踩坑日记(一)

    前言 博客折腾一次就好, 找一个适合自己的博客平台, 专注于内容进行提升. 方式一: 自己买服务器, 域名, 写前端, 后端(前后分离最折腾, 不分离还好一点)... 方式二: 利用Hexo, Hug ...

  7. Linux下使用 github+hexo 搭建个人博客06-next主题接入数据统计

    之前说了 next 主题的优化和接入评论系统.让我们完成了自己所需的页面风格和排版,也可让访问用户在每篇博文评论,完成博主和访问用户的交互. 本章我们继续讲解其他重要功能. 既然是一个网站,那么我们就 ...

  8. 在GitHub上使用Hexo搭建静态博客

    搭建静态博客须要一个前提是电脑上有安装git而且有github帐号,这个不懂能够看廖雪峰先生的git教程 1.下载nodejs.在官网上能够下载 2.使用git进入你新建的一个目录,输入命令 npm ...

  9. hexo搭建静态博客

    1. 环境环境 1.1 安装Git 请参考[1] 1.2 安装node.js 下载:http://nodejs.org/download/ 可以下载 node-v0.10.33-x64.msi 安装时 ...

随机推荐

  1. index unique scan 与index range scan等的区别

    存取Oracle当中扫描数据的方法(一) Oracle 是一个面向Internet计算环境的数据库.它是在数据库领域一直处于领先地位的甲骨文公司的产品.可以说Oracle关系数据库系统是目前世界上流行 ...

  2. DVWA全级别之XSS(Reflected)、XSS(Stored)【跨站脚本攻击】

    XSS XSS,全称Cross Site Scripting,即跨站脚本攻击,某种意义上也是一种注入攻击,是指攻击者在页面中注入恶意的脚本代码,当受害者访问该页面时,恶意代码会在其浏览器上执行,需要强 ...

  3. Linux - Shell - find - 进阶: 时间与大小

    概述 继续 find 这次的内容, 参数稍微要 复杂那么一丢丢 背景 刚学会了 基础 的参数 现在来了解一些 时间 和 空间 的参数 一说到操控时间空间, 感觉立马起来了... 准备 OS cento ...

  4. 19年SD夏令营游记

    首先,因为自己的刻苦学习(tui),所以游记很短,勿喷... 7.22.2019——报到 话说昨晚热到12点才睡着,在路上大家一直都在玩游戏,没有游戏可玩的我听着歌发呆... 到了山东省外国语职业技术 ...

  5. 项目git的步骤,将项目托管到码云

    项目git的步骤 1.创建.gitignore文件,进行文件过滤.写着不需要上传到git仓库的文件夹名字 2.readme.md 3.拷贝LICENSE,开源协议 4.创建本地仓储 * 使用git i ...

  6. mongo的常用命令--转载

    转载liyonghui的博文,出处  http://www.cnblogs.com/liyonghui/p/mongodb.html 博主写的特别好,对于我这个新手帮了大忙了,还将mongo和mysq ...

  7. python map、join函数

    map() 会根据提供的函数对指定序列做映射. 第一个参数 function 以参数序列中的每一个元素调用 function 函数,返回包含每次 function 函数返回值的新列表. map(fun ...

  8. bit Buffer

    在音频流解析过程中,常常会涉及到顺序读取某些bit的操作. #include<stdio.h> typedef struct _BIT_BUF { unsigned char buffer ...

  9. jq的 on 事件委托 导致多次执行问题

    解除 这个元素 在 父级上的 click 事件委托$(msg.fatherDiv).off('click','.fangdaimg_fn2'); click事件$('.fangdaimg_fn2'). ...

  10. 吴裕雄 人工智能 java、javascript、HTML5、python、oracle ——智能医疗系统WEB端智能分诊代码简洁版实现

    <%-- Document : getInfo Created on : 2018-10-7, 21:36:37 Author : acer --%> <%@page import= ...