Code Monkey home page Code Monkey logo

hexo-theme-ayer's Introduction

ayer logo

一个干净且优雅的 Hexo 主题

travis-ci js-standard-style
npm platform Gitter
npm version language GitHub repo size LICENSE


🌊 Ayer is a clean and elegant theme for Hexo, also fast, powerful and responsive. It contains many awesome features, It's perfect for your blog, "Ayer" means "water" in Malaysian and "yesterday" in Spanish. Create an issue if you have any queries or advice during the process of using,

注:收藏本主题请点右上角 Star,谢谢~~ 如果你想给主题添砖加瓦,可以点右上角 Fork,然后给此仓库提交 PR

Screenshot

Install

For hexo >= 5.0

npm i hexo-theme-ayer -S
  • If this theme is newly installed, a _config.ayer.yml file will be generated in the root directory after the installation is complete, and you can directly edit the _config.ayer.yml file for configuration.
  • If it is a theme upgrade, you can use the configuration method of hexo < 5.0, or you can move the original configuration file to the root directory and rename it to _config.ayer.yml.

For hexo < 5.0

git clone https://github.com/Shen-Yu/hexo-theme-ayer.git themes/ayer

Enable

Modify theme setting in _config.yml to ayer

theme: ayer

Update

cd themes/ayer
git pull

Multi Language Support

zh-CN(中文简体) en(English) zh-TW(中文繁体) ja(日本語) es(Español) de(Deutsch) fr(Français) ru(Русский) ko(한국어) vi(Tiếng Việt) nl(Nederlands) no(norsk) pt(Português)

English is default languge, if you want to change, modify language option in _config.yml file in your Hexo blog's root folder.

Configuration

let me know if you have any questions.

# Menu-Sidebar
menu:
  Home: /
  Archives: /archives
  Categories: /categories
  Tags: /tags
  Gallery: http://shenyu-vip.lofter.com
  Travel: /tags/旅行/
  About: /2019/about

# Subtitle and Typing animation
# https://github.com/mattboldt/typed.js
subtitle:
  enable: true
  text: A clean and elegant theme
  text2: It's perfect for your hexo blog
  text3: Have fun! #Supports up to three lines of text
  startDelay: 0
  typeSpeed: 200
  loop: true
  backSpeed: 100
  showCursor: true

# Favicon and sidebar logo
favicon: /favicon.ico
logo: /images/ayer-side.svg

# Cover Setting
# enable: [true|false];path: [background-image];logo: [cover-logo-image]
cover:
  enable: true
  path: /images/cover1.jpg # there are some beautiful cover images in Ayer's directory: /source/images, choose your favorite image to replace it.
  logo: /images/ayer.svg

# ProgressBar
progressBar: true

# Boardcast
broadcast:
  enable: true
  type: 2 # 1:custom,2:hitokoto api(https://hitokoto.cn/)
  text: a clean and elegant theme, fast and responsive. # only work in custom mode

# Article Setting
# (Use this to excerpt if article is too long:<!--more-->)
excerpt_link: Read More...
excerpt_all: false

# Copy code button
copy_btn: true
# Share
share_enable: true
# If you are not in China, maybe you prefer to set:false
share_china: true
# share text
share_text: Share
# search text
search_text: Search
# nav text
nav_text:
  page_prev: Prev page
  page_next: Next page
  post_prev: Newer posts
  post_next: Older posts

# Catalog in article
toc: true

# images in the article support click to fullscreen
image_viewer: true

# https://github.com/willin/hexo-wordcount
word_count:
  enable: true
  # only display in article page(not in index page)
  only_article_visit: true

# Reward Setting
# type:0-close reward; 1-only open in article which you have configured reward:true; 2-open in all articles
reward_type: 2
# reward word
reward_wording: "Buy me a cup of coffee~"
# qrcode image path
alipay: /images/alipay.jpg
# qrcode image path
weixin: /images/wechat.jpg

# Copyright
# type:0-close all; 1-only display in article which you have configured copyright: true; 2-all articles
copyright_type: 2

# Search
# https://github.com/theme-next/hexo-generator-searchdb
search: true

# RSS
# leave it empty if you dont' need
rss: /atom.xml

# DarkMode
darkmode: true

# Canvas background style: 0-close,1-moveline
canvas_bg: 0

# Custom mouse pointer,replace /images/mouse.cur
mouse:
  enable: false
  path: /images/mouse.cur

# Click effect: 0-close,1-love,2-boom,3-particles
click_effect: 0

# articleWidth and sidebarWidth
layout:
  article_width: 80rem
  sidebar_width: 8rem

# GitHub Ribbons(https://github.blog/2008-12-19-github-ribbons/)
github:
  # (Set false if you don't need)
  enable: false
  url: https://github.com/Shen-Yu/hexo-theme-ayer

# pv&uv statistics
busuanzi:
  enable: true

# cnzz statistics
cnzz:
  enable: true
  url: #

# Google Analytics
google_analytics: ""
# Baidu Analytics
baidu_analytics: ""

# Mathjax Support
mathjax: true

# Katex Support
# note: need change the hexo-renderer,npm un hexo-renderer-marked -S && npm i hexo-renderer-markdown-it-katex -S
katex:
  enable: false # true
  allpost: true
  copy_tex: false

# since year
since: 2019

# only for chinese website
# ICP
icp:
  enable: false
  url: "http://www.beian.miit.gov.cn/"
  text: "浙ICP备88888888"
# gongan
gongan:
  enable: false
  img: /images/beian.png
  url: "http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=01234567890123" #link
  text: "浙公网安备01234567890123号"

# friends link
friends_link:
  Ayer: #site name
    # site url
    url: https://github.com/Shen-Yu/hexo-theme-ayer
    # site icon(optional)
    img: /images/ayer.png
  GitHub:
    url: https://github.com/Shen-Yu
    img: https://i.loli.net/2020/09/07/indb4PRYDA98EkN.png
  gitee:
    url: https://gitee.com/shen-yu
    img: https://i.loli.net/2020/09/07/K3AqO7h6krQFlRX.png
  Hexo:
    url: https://hexo.io
    img: https://i.loli.net/2020/09/07/UYGzjo7h68CRWny.png
  hexo-tag-chart:
    url: https://github.com/Shen-Yu/hexo-tag-chart
    img: https://i.loli.net/2020/09/07/GIXBYE5SoylhR1r.png

# Comment:1、Valine (recommended);2、Gitalk;3、Twikoo;4、MiniValine
# You can close the comment section on one of your posts by marking `comments: false` in front-matter.

# 1、Valine [A fast, simple & powerful comment system](https://github.com/xCss/Valine)
# You need create leancloud account first (https://console.leancloud.app), then put the id|key in below.
leancloud:
  enable: true
  app_id: #
  app_key: #
# Valine Setting
valine:
  enable: true
  avatar: mp # (https://valine.js.org/avatar.html)
  placeholder: Add some comments to my article~ # placeholder

# 2、Gitalk(https://github.com/gitalk/gitalk)
gitalk:
  enable: false # true
  clientID: # GitHub Application Client ID
  clientSecret: # Client Secret
  repo: # Repository name
  owner: # GitHub ID
  admin: # GitHub ID

# 3、Twikoo(https://github.com/imaegoo/twikoo)
twikoo:
  enable: false
  envId: #


# advertisement
# if there is an "ad" word in photo or url,it may blocked by adblock or any other browser extensions
ads:
  ad_1:
    title: vultr优惠vps
    img: https://cdn.jsdelivr.net/gh/Shen-Yu/cdn/img/vultr.png
    url: https://www.vultr.com/?ref=8630075
    width: 300
  ad_2:
    title: 云服务器全球购低至2折
    img: https://cdn.jsdelivr.net/gh/Shen-Yu/cdn/img/ten_2.jpg
    url: https://curl.qcloud.com/kvO7hb43
    width: 300

# encrypt settings
lock:
  enable: false
  password: 123456

Plugins

  • hexo-generator-search (for Local Search)

    $ npm install hexo-generator-searchdb --save

    Then add the plugin configuration in hexo's configuration file _config.yml (note: not the theme's configuration file):

    # Hexo-generator-search
    search:
      path: search.xml
      field: post
      format: html
  • hexo-generator-feed (for RSS)

    $ npm install hexo-generator-feed --save

    Then add the plugin configuration in hexo's configuration file _config.yml (note: not the theme's configuration file):

    feed:m
        type: atom
        path: atom.xml
        limit: 20
        hub:
        content:
        content_limit: 140
        content_limit_delim: ' '
        order_by: -date
  • hexo-generator-index-pin-top (for Sticky Post)

    $ npm uninstall hexo-generator-index --save
    $ npm install hexo-generator-index-pin-top --save

Categories

  hexo new page categories

Then paste following codes to file: /source/categories/index.md

---
title: categories
type: categories
layout: "categories"
---

Tags

Same as categories.

Friend Links

hexo new page friends

Then paste following codes to file: /source/friends/index.md

---
title: friends
type: friends
layout: "friends"
---

Then edit friends_link in _config.yml

Gallery

Need to write in the head of the markdown, this is not a good way to write, I hope to get a better way to write on github.

---
title: Gallery

albums: [["img_url", "img_caption"], ["img_url", "img_caption"]]
---

Toc

Use Tocbot to parse the title tags (h1~h6) in the content and insert the directory.

  • ayer/_config.yml

    # Toc
    toc: true
  • If Toc is turned on in ayer/_config.yml, then Tocbot will generate a Toc article directory in the title tag of each blog parsing content, but not all blogs require Toc, so in the Front-matter section of markdown Can be closed:

    ---
    no_toc: true
    ---


Code Contributors

This project exists thanks to all the people who contribute.

Stargazers over time

Stargazers over time

License

Ayer by Eric-Shen is licensed under SATA-License.

The basic idea is, whenever using a project using SATA license, people shall star/like/+1 that project and thank the author. Just imagine Google stared your project and send you a thank-you letter because they used your project in github!

本项目采用SATA开源协议,在遵守 MIT 许可证的前提下,你应该马不停蹄的给这个开源项目“点个赞”,比如 github 右上角的 star,然后你应该感谢这个开源项目的作者,作者信息可以在许可证头部的版权声明部分找到。

下面是几条 SATA 作者推荐的感谢途径,也是 SATA 包含的内容:

  • 给你使用的开源项目的作者发个 Email,和他交个朋友
  • 提出你在使用过程中发现的 BUG 或者提一些建设性的意见
  • 告诉你的朋友们这是一个多棒的开源项目
  • 当然,你也可以只是在心里默默的感激,不用让全世界都知道

hexo-theme-ayer's People

Contributors

bianyukun1213 avatar ckyol avatar eigeen avatar hankzhangcn avatar imgbotapp avatar kaixin-365 avatar kiprey avatar mhuig avatar shen-yu avatar shrimp509 avatar wangwei1237 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hexo-theme-ayer's Issues

请教搜索功能和主页显示内容的问题

hi,非常感谢您的主题,非常棒!
我的网站: http://wizzie.top/
请教几个问题,

  1. 我的网站按照你的方法装了插件,但是搜索功能没有用,在public也有生成search.xml和search文件夹。这是为什么?
  2. 我的文章比较多,发现只能使用一个一个添加来限制主页显示的字数,是否可以添加一个显示数字的控制?
  3. 请教文章的宽度怎么修改源码?

categories 无法显示

我按照Ayer的说明已经安装好了,可是 categories 以及 tags 无法正常显示

配置如下:
configure

载入页面如下:
page

有大佬可以给我解答一下吗?谢谢啦~

手机访问页面时增加关闭目录的功能

试用了最新的版本,发现手机上访问时修复了目录不展现的问题,但是如果文章的目录比较长时,在浏览文章时,目录就会遮挡文章了。能否pc和手机做个区分,增加手机上可以不展现目录的功能。

分类categories bug:同一个分类被分成两个标签

都是【测试】类别,但是会被归为不同的标签,如下图:
image

一篇文章同时给了多个categories分类,如下两图,前者是【测试】categories放在首位,后者是【测试】categories放在末尾,categories顺序导致了同时出现两个【测试】标签:
image

image

Ayer表格问题

作者大大您好:
虽然您设置了表格格式,但是在generate的时候会出现无法渲染的问题
我查询了一下,修改了ayer/source/css/_extend.styl的table部分的代码如下:

  table
    width 100%
    max-width 65em
    border 1px solid #dedede
    margin 15px auto
    border-collapse collapse
    empty-cells show
    th,td
        height 35px
        border 1px solid #dedede
        padding 0 10px
    th
        font-weight bold
        text-align center !important
        background rgba(158, 188, 226, .2)
        white-space nowrap
    tbody tr:nth-child(2n)
        background rgba(158, 188, 226, .12)
    td:nth-child(1)
        white-space nowrap
    tbody tr:hover
        background #efefef

就比较好看了,希望您能merge到代码中,谢谢~

请问如何修改文章显示的宽度?

我在使用网页接入视频发现文章的宽度有些小。请问在哪里可以调整?还有就是如何添加密码验证,我在直接使用插件的时候,发现会导致文章无法打开,不知是要修改什么配置?望回答,十分感谢!

关于黑夜模式

您好,启用黑夜模式后,Valine评论区仍然是白色的,非常刺眼,请问是否有办法解决呢?
image

Cannot read property 'offsetTop' of null

本地搭建时出现了与网站同样的Console error
问题复现网址: https://shen-yu.gitee.io/2019/about/
问题描述:
控制台报错: tocbot.min.js:1 Uncaught TypeError: Cannot read property 'offsetTop' of null
浏览器: Google Chrome
版本 80.0.3987.149(正式版本) (64 位)

错误log详情:
tocbot.min.js:1 Uncaught TypeError: Cannot read property 'offsetTop' of null
at r (tocbot.min.js:1)
at Object.s [as updateToc] (tocbot.min.js:1)
at Object. (tocbot.min.js:1)
at Object._scrollListener (tocbot.min.js:1)
at Object.c.init (tocbot.min.js:1)
at (index):417

无序列表没有吗?

你好,我在Markdown中使用了-、+、*尝试无序列表但是并没有起效。

我后来检阅了某些文章 发现部分失效 如果直接写的话就看不到前面无序列表的符号

加在引用中能看到 不过非常的窄,也许是文章宽度挡住了CSS的样式。

请问大佬如何解决文章图片显示问题?

非常抱歉这个问题似乎与你的主题是无关的,但是我真的很想知道你是如何使你文章的图片可以正常显示的,并且百度上的,我所能找到的方法都无法解决我的问题,我是使用Typora进行编写的

如何修改标题之间的间距?

非常喜欢这个主题,但是发现写的文章排版还是不舒服。各级标题直接的间距太小了。
请问一下如何修改各级标题直接的间距?感谢!!

封面图片自适应建议

一些背景图片在桌面端能够取得不错的效果,但是在移动端的适应效果并不理想,能否考虑一下支持手动设置PC/移动端下的封面图片?谢谢啦😊

字体大小修改

标题的减小幅度太大,四级标题就已经比普通文字小了,请问我在哪里可以修改呢

文章卡顿和返回问题

感谢分享,你好。在电脑屏幕文章中点击右侧的目录过后,然后点浏览器返回上一个页面没有用。是一个标题一个标题的返回(并没有效果),点到最后才可以返回上一个链接,并且手机屏幕下文章有时候会卡顿。

多级分类的显示

请问一下,当一篇文档有多层分类时(比如-数学--代数),而在category中数学和代数会同时显示且大小是相同的,如何使category中只显示第一级分类?

如何把css和js通过CDN加速

想给自己的博客套一个CDN全站加速,自己控制css和js样式的缓存刷新太麻烦了。

所以问一下,把主题相关的CSS,js文件统一放到又拍或者七牛云的文件存储上去,访问的之后直接通过CDN访问样式,加速博客,应该如何修改?

Fancybox 和 Photoswipe 存在冲突问题

检查了一下关闭了的 #30 ,在after-footer.ejs里面有一段:

<% if (theme.image_viewer){ %>
<%- partial('viewer') %>
<% } %>

会使用Photoswipe,但是同时又会使用Fancyfox来实现相册效果,所以会有两层大图显示。而且main.css里面fancybox的opacity设置存在错误,导致缩略图无法显示,只有灰色背景。

请问大佬相册不能显示缩略图的问题

在相册中添加图片后(已经添加文件头)`---
title: 拾影长廊

albums: [
["img/1.jpg","15435"],
["img/2.jpg","1543543"],
["img/2020-3-13-1.jpg","1543534"]

	]

`
在本地预览显示的为灰色白块(没有缩略图),点击后可以看到图片
上传至服务器后该页面为空白页面。
请问大佬这个问题怎么办?

latex 公式渲染不支持换行?

markdown中的源码如下:

进一步推导:

$$\begin{aligned}
r_{(i+1)}^{T} r_{(i)} &=0 \\
\left(b-A x_{(i+1)}\right)^{T} r_{(i)} &=0 \\
\left(b-A\left(x_{(i)}+\alpha r_{(i)}\right)\right)^{T} r_{(i)} &=0 \\
\left(b-A x_{(i)}\right)^{T} r_{(i)}-\alpha\left(A r_{(i)}\right)^{T} r_{(i)} &=0 \\
\left(b-A x_{(i)}\right)^{T} r_{(i)} &=\alpha\left(A r_{(i)}\right)^{T} r_{(i)} \\
r_{(i)}^{T} r_{(i)} &=\alpha r_{(i)}^{T}\left(A r_{(i)}\right) \\
\alpha &=\frac{r_{(i)}^{T} r_{(i)}}{r_{(i)}^{T} A r_{(i)}}
\end{aligned}$$

但是渲染出来的效果:
image

在 vscode 和 typora 中的公式均可以正常预览,并且不只是这一处出现问题,想知道是什么原因。

添加# toC

文章目录
用Tocbot解析文章标题并生成目录

将以下配置复制到你ayer目录下的 _config.yml 里:

Toc

toc: true

添加这个代码http://localhost:4000/就显示不出来
是不是因为跟原来主题里存在的这个代码重复的原因

文章页是否显示目录

toc: true

#<Object> is not a function

In a Ubuntu 18.04 with node.js v12.9.1 and npm 6.10.2.
First I copy the hole 'ayer' folder into the /themes and change the configure file to disable all the analyse, reward, and comments configurations.
Then when I add some markdown file in 'source/_posts/' and type 'hexo g'. Then I got the following messages:

root@7cf0c1302e4e:/data/MyBlogFolder# hexo g
INFO  Start processing
INFO  Files loaded in 341 ms
ERROR /data/MyBlogFolder/themes/ayer/layout/page.ejs:2
    1| <section class="outer">
 >> 2|   <%- partial('_partial/article', {post: page, index: true}) %>
    3| </section>

/data/MyBlogFolder/themes/ayer/layout/_partial/article.ejs:14
    12|     <div class="article-meta">
    13|       <%- partial('post/date', {class_name: 'article-date', date_format: null}) %>
 >> 14|       <%- partial('post/category') %>
    15|       <% if(theme.word_count && theme.word_count.enable && !post.no_word_count){%>
    16|       <%- partial('post/word') %>
    17|       <% } %>

/data/MyBlogFolder/themes/ayer/layout/_partial/post/category.ejs:3
    1| <% if (post.categories && post.categories.length){ %>
    2|   <div class="article-category">
 >> 3|     <%- list_categories(post.categories, {
    4|       show_count: false,
    5|       class: 'article-category',
    6|       style: 'none',

#<Object> is not a function
TypeError: /data/MyBlogFolder/themes/ayer/layout/page.ejs:2
    1| <section class="outer">
 >> 2|   <%- partial('_partial/article', {post: page, index: true}) %>
    3| </section>

/data/MyBlogFolder/themes/ayer/layout/_partial/article.ejs:14
    12|     <div class="article-meta">
    13|       <%- partial('post/date', {class_name: 'article-date', date_format: null}) %>
 >> 14|       <%- partial('post/category') %>
    15|       <% if(theme.word_count && theme.word_count.enable && !post.no_word_count){%>
    16|       <%- partial('post/word') %>
    17|       <% } %>

/data/MyBlogFolder/themes/ayer/layout/_partial/post/category.ejs:3
    1| <% if (post.categories && post.categories.length){ %>
    2|   <div class="article-category">
 >> 3|     <%- list_categories(post.categories, {
    4|       show_count: false,
    5|       class: 'article-category',
    6|       style: 'none',

#<Object> is not a function
    at Array.find (<anonymous>)
    at prepareQuery (/data/MyBlogFolder/node_modules/hexo/lib/plugins/helper/list_categories.js:30:23)
    at flatList (/data/MyBlogFolder/node_modules/hexo/lib/plugins/helper/list_categories.js:81:5)
    at Object.listCategoriesHelper (/data/MyBlogFolder/node_modules/hexo/lib/plugins/helper/list_categories.js:105:10)
    at eval (/data/MyBlogFolder/themes/ayer/layout/_partial/post/category.ejs:13:17)
    at category (/data/MyBlogFolder/node_modules/ejs/lib/ejs.js:682:17)
    at viewFn._compiledSync (/data/MyBlogFolder/node_modules/hexo/lib/theme/view.js:132:22)
    at viewFn.View.renderSync (/data/MyBlogFolder/node_modules/hexo/lib/theme/view.js:60:23)
    at Object.partial (/data/MyBlogFolder/node_modules/hexo/lib/plugins/helper/partial.js:34:15)
    at eval (/data/MyBlogFolder/themes/ayer/layout/_partial/article.ejs:33:17)
    at article (/data/MyBlogFolder/node_modules/ejs/lib/ejs.js:682:17)
    at viewFn._compiledSync (/data/MyBlogFolder/node_modules/hexo/lib/theme/view.js:132:22)
    at viewFn.View.renderSync (/data/MyBlogFolder/node_modules/hexo/lib/theme/view.js:60:23)
    at Object.partial (/data/MyBlogFolder/node_modules/hexo/lib/plugins/helper/partial.js:34:15)
    at eval (/data/MyBlogFolder/themes/ayer/layout/page.ejs:12:17)
    at page (/data/MyBlogFolder/node_modules/ejs/lib/ejs.js:682:17)
    at viewFn._compiled (/data/MyBlogFolder/node_modules/hexo/lib/theme/view.js:136:48)
    at viewFn.View.render (/data/MyBlogFolder/node_modules/hexo/lib/theme/view.js:41:15)
    at /data/MyBlogFolder/node_modules/hexo/lib/hexo/index.js:61:21
    at tryCatcher (/data/MyBlogFolder/node_modules/bluebird/js/release/util.js:16:23)
    at /data/MyBlogFolder/node_modules/bluebird/js/release/method.js:15:34
    at RouteStream._read (/data/MyBlogFolder/node_modules/hexo/lib/hexo/router.js:126:3)

And after I type hexo s, I couldn't reach the 'category' page and there's no 'index.html' in the 'public/categories'.
Is that any solution to solve this idea?

如何修改字体及颜色

请问一下在哪里修改title、subtitle、archives-artitle-title的字体、颜色?感谢!!
另外,请问可以实现这样的需求吗:archive-article的title原本是黑色或者灰色,鼠标移动到上面title会变成蓝色,而不是一直是蓝色

Menu宽度自定义

Hi,这个主题超棒的!
但是我想如果Menu的宽度可以自定义就好了,模板里是“旅游”,“摄影”这种2个字的还好,如果是4个字的话,最后一个字会换行,有点不好看。

可以做到Menu宽度自定义吗?谢谢

有关表格居中问题

今天用md设置表格内容居中发现表格第二列设置居中失败(其他列均成功),排查后发现 ayer/source/dist/main.css中有这么一段:

.article-entry table td:nth-child(2) { text-align: left !important }
个人将其注释掉了,表格也恢复居中了.不知道是否会引发bug

你好,我想问一下如何让文章归类到指定page?

感谢分享,很棒的主题! 我不熟悉hexo操作,搜了半天没弄明白该怎么把文章归类到每个page。
比如说,我有一个page是笔记,我会发表一些笔记在这个page,怎么样才能做到呢? 我现在只有在归档主页能看到发表的文章

markdown语法支持有问题

比如下面这几句。

  1. xxxx
    • xxxx
    • xxxx
  2. xxxx
    中间的不缩进,而是和1,2这些序号对齐了。但是在github和vs code自带预览上就不会有这些问题。

另外,单行代码的样式可以改进一下吗?现在的样式不突出,和文本没啥区别。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.