theme = "learn"
[outputs]
-home = [ "HTML", "RSS", "JSON"]
+home = ["HTML", "RSS", "JSON"]
[params]
# Prefix URL to edit current page. Will display an "Edit this page" button on top right hand corner of every page.
themeVariant = "blue"
# Provide a list of custom css files to load relative from the `static/` folder in the site root.
custom_css = ["css/style.css", "css/jsonview.css", "css/blog.css"]
+# Used for social media preview cards
+images = ["images/logo-wide.jpg"]
[permalinks]
tags = "/blog/tags/:slug"
# render raw html
[markup.goldmark.renderer]
-unsafe= true
+unsafe = true
[[Languages.en.menu.shortcuts]]
name = "<i class='fas fa-book-open'></i> Rust Docs"
<link href="{{(printf "%s" .) | relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}" rel="stylesheet">
{{- end }}
+ {{ template "_internal/opengraph.html" . }}
+ {{ template "_internal/twitter_cards.html" . }}
+
<script src="{{"js/jquery-3.3.1.min.js"| relURL}}{{ if $assetBusting }}?{{ now.Unix }}{{ end }}"></script>
<style>