如何将块从哈巴狗模板移动source到哈巴狗模板中theme?
Hexo 新手。处理一个hexo-theme-bootstrap4-starterkit主题。
使用 . 制作了一些哈巴狗模板pug -w index.pug。试图将我的内容移出themes/bootstrap4-starterkit和移入source
我的index.pug文件是这样的:
extends themes/layout.pug
block scripts
script(src="//cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.1/Chart.bundle.min.js", crossorigin="anonymous")
block content
section#home
.jumbotron.mt-4
h1.display-4 Sooooooo Good!
该layout.pug文件或多或少:
html(lang="en")
head
meta(charset='UTF-8')
...
block scripts
block opengraph
meta(name="description", content=page.summary||config.subtitle)
...
body
main#main.container
block content
footer
block footer
include _partial/footer