This repository was archived by the owner on Jul 1, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed
Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ theme = "hugo-icarus-theme"
2828 # Format dates with Go's time formatting
2929 date_format = " 2006-01-02"
3030
31+ # Add custom assets with their paths relative to the static folder
32+ custom_css = []
33+ custom_js = []
34+
3135# Create custom menu entries by defining a label and a link for
3236# them. Since you can also link posts, you've the option the
3337# place the links before or after them.
Original file line number Diff line number Diff line change 33< script src ="{{ .Site.BaseURL }}js/script.js "> </ script >
44< script src ="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.8.0/highlight.min.js "> </ script >
55< script > hljs . initHighlightingOnLoad ( ) ; </ script >
6+ {{ range .Site.Params.custom_js }}
7+ < script src ="{{ . | absURL }} "> </ script >
8+ {{ end }}
69
710{{ "<!-- MathJax --> " | safeHTML }}
811< script type ="text/x-mathjax-config ">
Original file line number Diff line number Diff line change 2222 < link rel ="stylesheet " href ="{{ .Site.BaseURL }}css/font-awesome.min.css ">
2323 < link rel ="stylesheet " href ="{{ .Site.BaseURL }}css/monokai.css ">
2424 < link rel ="stylesheet " href ="{{ .Site.BaseURL }}fancybox/jquery.fancybox.css ">
25+ {{ range .Site.Params.custom_css }}
26+ < link rel ="stylesheet " href ="{{ . | absURL }} ">
27+ {{ end }}
2528 < link href ='https://fonts.googleapis.com/css?family=Open+Sans:400italic,400,600 ' rel ='stylesheet ' type ='text/css '>
2629 < link href ='https://fonts.googleapis.com/css?family=Source+Code+Pro ' rel ='stylesheet ' type ='text/css '>
2730 {{ template "_internal/opengraph.html" . }}
You can’t perform that action at this time.
0 commit comments