Finished (?) stack overflow blog post
This commit is contained in:
parent
50ea13e1e0
commit
8ff42e5990
5 changed files with 108 additions and 12 deletions
|
|
@ -18,8 +18,10 @@
|
|||
{{ end }} {{ block "favicon" . }} {{ partial "site-favicon.html" . }} {{ end
|
||||
}}
|
||||
|
||||
<!-- Chart.js for graphs -->
|
||||
<!-- Chart.js for graphs - only load if page content contains graph shortcode -->
|
||||
{{ if or (findRE "{{<\\s*graph" .RawContent) (findRE "{{%\\s*graph" .RawContent) }}
|
||||
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.1/dist/chart.umd.min.js" integrity="sha384-9nhczxUqK87bcKHh20fSQcTGD4qq5GhayNYSYWqwBkINBhOfQLg/P5HG5lF1urn4" crossorigin="anonymous"></script>
|
||||
{{ end }}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
|
|||
|
|
@ -46,4 +46,7 @@
|
|||
<div class="blogs-lavalamp">{{ partial "elements/lavalamp.html" . }}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="/js/footnote-scroll.js"></script>
|
||||
|
||||
{{ end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue