coredns.io
1.0.0
目的:
该网站是由Hugo创建的,如果您想在网站上本地工作,则需要下载并安装该网站。为了创建新内容,不需要。
我们有三种类型的页面。
themes/coredns/layouts/index.htmlcontent/blog/* (取决于参数,请参阅archetypes )content/plugins/*和content/explugins/*您将使用“陈旧”标记的任何博客文章都会在9个月后弹出警告,即帖子的内容可能无法反映Coredns的当前工作。
发行版应使用'realease =“ number”和data/coredns.toml标记。
data/subtext.toml控制“ DOCS”,“插件”和“外部插件”的按钮。
创造:
hugo new -k release blog/coredns-<number>.mdhugo new -k blog blog/coredns-<number>.mdhugo new -k doc blog/coredns-<number>.md 对于我们拥有的颜色:
开源字体LATO非常接近Brandon Grotesque(用于徽标中)。尝试将其用于您添加的任何图像。
请参阅您可以使用的Libre Office Draw模板的style目录。
请参阅最高级别(即主题目录中的不在主题目录中) layout/partials/popup.html以调整文本。这可以用于重要通知。
任何CoreFile片段都应使用(假)语言corefile ,我们有一个小型实用程序,可以检查所有这些片段,以查看它们是否仍然有效。
make PLUGINDIR=~coredns/plugin sync将官方核心/核心库中的笔记同步到此存储库中data/coredns.toml ,并在该文件中设置最新版本,然后运行使make old以更新旧的(ER)Hugo网站。