Skip to content

Commit

Permalink
Add asciinema integration
Browse files Browse the repository at this point in the history
- Fixes #168
  • Loading branch information
jvalkeal committed Oct 13, 2023
1 parent 5eb4aef commit 977e7dd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/partials/footer.hbs
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
{{> footer-content}}
{{> footer-scripts}}
{{#if env.SITE_ASCIINEMA_PROVIDER}}
{{> asciinema-create-scripts}}
{{/if}}
3 changes: 3 additions & 0 deletions src/partials/head-styles.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@
<link rel="stylesheet" href="{{{uiRootPath}}}/css/vendor/search.css">
<link rel="stylesheet" href="{{{uiRootPath}}}/css/vendor/page-search.css">
<link rel="stylesheet" href="{{{uiRootPath}}}/css/vendor/{{#if (asciidocExtensionRegistered '@asciidoctor/tabs')}}asciidoctor{{else}}spring{{/if}}-tabs.css">
{{#if env.SITE_ASCIINEMA_PROVIDER}}
{{> asciinema-styles}}
{{/if}}

3 changes: 3 additions & 0 deletions src/partials/header.hbs
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
{{> header-scripts}}
{{> header-content}}
{{#if env.SITE_ASCIINEMA_PROVIDER}}
{{> asciinema-load-scripts}}
{{/if}}

0 comments on commit 977e7dd

Please sign in to comment.