Title Map
Using the syntax of githubpages topic NexT
NexT
Preface
Don't know why? The website always doesn't appear?
Add label page
title: Tag test article tags: - Testing - Another Tag ---
New page:
Set page type:
$ hexo new page tags title: Label date: 2014-12-22 12:39:04 type: "tags" --- menu: home: / archives: /archives tags: /tags
Add category page
$ hexo new page categories title: classification date: 2014-12-22 12:39:04 type: "categories" --- menu: home: / archives: /archives categories: /categories
Set font
font: enable: true # External font library address, for example / / fonts.googleapis.com (default) host: # Global font, applied to body element global: external: true family: Monda # Title font (h1, h2, h3, h4, h5, h6) headings: external: true family: Roboto Slab # Article font posts: external: true family: # Logo font logo: external: true family: Lobster Two size: 24 # Code font, applied to code and code block codes: external: true family: PT Mono
Set code highlight theme
# Code Highlight theme # Available value: normal | night | night eighties | night blue | night bright # https://github.com/chriskempson/tomorrow-theme highlight_theme: normal
Sidebar social links
# Social links social: GitHub: https://github.com/your-user-name Twitter: https://twitter.com/your-user-name //Weibo: http://weibo.com/your-user-name //Douban: http://double.com/people/your-user-name //Zhihu: http://www.zhihu.com/people/your-user-name # Wait # Social Icons social_icons: enable: true # Icon Mappings GitHub: github Twitter: twitter //weibo: weibo
Turn on the reward function
reward_comment: Adhere to the original technology sharing, your support will encourage me to continue to create! wechatpay: /path/to/wechat-reward-image alipay: /path/to/alipay-reward-image
Friendship link
# title links_title: Links links: MacTalk: http://macshuo.com/ Title: http://example.com/
Tencent public service 404 page
<!DOCTYPE HTML> <html> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8;"/> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="robots" content="all" /> <meta name="robots" content="index,follow"/> <link rel="stylesheet" type="text/css" href="https://qzone.qq.com/gy/404/style/404style.css"> </head> <body> <script type="text/plain" src="http://www.qq.com/404/search_children.js" charset="utf-8" homePageUrl="/" homePageName="Back to my home page"> </script> <script src="https://qzone.qq.com/gy/404/data.js" charset="utf-8"></script> <script src="https://qzone.qq.com/gy/404/page.js" charset="utf-8"></script> </body> </html>
Site establishment time
Configuration example since: 2013
Set animation effect, background animation
use_motion: true # Turn on animation use_motion: false # Turn off animation canvas_nest Configuration example # canvas_nest canvas_nest: true //Open animation canvas_nest: false //Close animation three_waves Configuration example # three_waves three_waves: true //Open animation three_waves: false //Close animation
The third party
Facebook Comments
# Facebook comments plugin # This plugin depends on Facebook SDK. # If facebook_sdk.enable is false, Facebook comments plugin is unavailable. facebook_comments_plugin: enable: false num_of_posts: 10 # min posts num is 1 width: 100% # default width is 550px scheme: light # default scheme is light (light or dark)
Built-in tag
Label call method <! -- HTML method: directly write HTML in Markdown file to call -- > <! -- where class = "blockquote center" is required -- > <blockquote class="blockquote-center">blah blah blah</blockquote> <! -- label mode, version 0.4.5 or above required -- > {% centerquote %}blah blah blah{% endcenterquote %} <! -- tag alias -- > {% cq %} blah blah blah {% endcq %}
Picture with container width limit
Label call method <! -- HTML method: directly write HTML in Markdown file to call -- > <! -- where class = "full image" is required -- > <img src="/image-url" class="full-image" /> <! -- label mode, version 0.4.5 or above required -- > {% fullimage /image-url, alt, title %} <! -- alias -- > {% fi /image-url, alt, title %}
If I read it, I think it's good
Give the thumbs-up! Forward!
Uncle Dawson: for the rest of his life, you are the only one
You and me, we are family !
The post-90s handsome guy, good development habits, independent thinking ability, initiative and good at communication
Jianshu blog: Uncle Da Xiaosheng
https://www.jianshu.com/u/c785ece603d1
epilogue
- Now I will continue to explain other knowledge in depth. If you are interested, you can continue to pay attention
- Let's go f or a little gift