3

Hugo与Hexo的工作机制

 3 years ago
source link: https://raycoder.me/p/how-hugo-and-hexo-works/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
博客 1 mins

Hugo与Hexo的工作机制

07-06-20 / 261 Words

写作不易,资瓷一下呗!本文首发于个人博客:https://raycoder.me

最近在群里看到一些小伙伴在问问题!主要是不知道怎么添加下载链接!这件事情本来就是一个简单的markdown超链接+downloads目录的事,但是咋在他们口里就这么难咧🍌

20200607141946.jpg

嗯,我先来给大家分析一下hexohugo的工作机制。上图~~,淦它就完了~~

20200607142035.svg

就是这样。

hexo可以在/source文件夹下新建一个downloads目录,hugo就在/static文件夹下新建。

hexo需要在站点配置文件里修改:

skip_render:
  - downloads/**

然后....

20200607142409.jpg

(又氵了一篇文章)


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK