Add hugo-bearcub theme directly

This commit is contained in:
Miguel de la Cruz 2024-01-08 09:51:11 +01:00
parent 5a313b15fa
commit 6a256af9c0
45 changed files with 1489 additions and 0 deletions

View file

@ -0,0 +1,5 @@
<!-- https://github.com/jmooring/hugo-testing/blob/hugo-forum-topic-40998/layouts/_default/_markup/render-codeblock-katex.html -->
{{ .Page.Store.Set "hasCodeBlock" true }}
<!-- https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/shortcodes/highlight.html -->
{{ if len .Params | eq 2 }}{{ highlight (trim .InnerDeindent "\n\r") (.Get 0) (.Get 1) }}{{ else }}{{ highlight (trim .InnerDeindent "\n\r") (.Get 0) "" }}{{ end }}

View file

@ -0,0 +1,2 @@
<!-- raw html -->
{{.Inner}}