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網站。