![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
BLOG
QASWINE
Informatik verbindet dich und mich.
展开
-
HuGo博客处理数学公式方案
摘选自在Hugo中使用MathJax本站在添加MathJax时,把所有修改写成了一个layouts/partials/mathjax.html文件:<script type="text/javascript" async src="https://cdn.bootcss.com/mathjax/2.7.3/MathJax.js?config=TeX-AMS-MML_HTMLorMML">MathJax.Hub.Config({ tex2jax: {转载 2020-07-21 15:54:16 · 1316 阅读 · 0 评论 -
HuGo博客搭建部署到GitHub Pages
预览在根目录执行:hugo server --theme=fuji --buildDrafts --watch 此时生成的是静态文件,真的很快。只要server不关,会一直监控文件变化,自动生成静态文件。我们可以看到命令行提示Web Server is available at …。在浏览器输入http://localhost:1313。部署在GitHub上创建一个仓库,名为 用户名.github.io在根目录执行:hugo --theme=fuji --buildDr转载 2020-07-21 11:23:39 · 494 阅读 · 0 评论