diff --git a/_config.yml b/_config.yml index 5508509..78a593f 100644 --- a/_config.yml +++ b/_config.yml @@ -65,6 +65,11 @@ pagination_dir: page ## Themes: https://hexo.io/themes/ theme: typing +# hexo-autonofollow +## https://github.com/liuzc/hexo-autonofollow +nofollow: + enable: true + # Deployment ## Docs: https://hexo.io/docs/deployment.html deploy: diff --git a/package.json b/package.json index c976924..7a5a370 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ }, "dependencies": { "hexo": "latest", + "hexo-autonofollow": "latest", "hexo-generator-archive": "latest", "hexo-generator-category": "latest", "hexo-generator-index": "latest", diff --git a/themes/typing/layout/_partial/footer.ejs b/themes/typing/layout/_partial/footer.ejs index 0cbba8d..d4c2495 100644 --- a/themes/typing/layout/_partial/footer.ejs +++ b/themes/typing/layout/_partial/footer.ejs @@ -10,6 +10,6 @@
<% } %> diff --git a/themes/typing/layout/_partial/post/title.ejs b/themes/typing/layout/_partial/post/title.ejs index 69d646f..1a57037 100644 --- a/themes/typing/layout/_partial/post/title.ejs +++ b/themes/typing/layout/_partial/post/title.ejs @@ -1,6 +1,6 @@ <% if (post.link){ %>

- +

<% } else if (post.title){ %> <% if (index){ %>