Skip to content

Commit

Permalink
feat: add kapa.ai (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
CjS77 committed Jan 18, 2024
1 parent fbd8998 commit 59e3c00
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 0 deletions.
9 changes: 9 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,12 @@ tag_permalink_style: /:title
sass:
sass_dir: _sass
style: compressed

kapa:
data-website-id: 42b8765f-d05f-44b3-9136-8ee736194767
data-project-name: Tarilabs University
data-project-color: "#9330ff"
data-project-logo: /assets/img/node-icon-alt.svg
data-modal-title: "Tari's little AI helper"
data-search-mode-enabled: true
data-modal-disclaimer: "Answers have been generated by artificial intelligence and may not be entirely error-free or up-to-date. We recommend independently verifying the content and consulting with professionals for specific advice or information. We do not assume any responsibility or liability for the use or interpretation of this content."
5 changes: 5 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,9 @@
{{ include_to_scssify | scssify }}
</style>

<!-- Kapa.ai -->
{% if site.kapa.data-website-id %}
{% include kapa.html %}
{% endif %}

</head>
10 changes: 10 additions & 0 deletions _includes/kapa.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<script
src="https://widget.kapa.ai/kapa-widget.bundle.js"
data-website-id="{{ site.kapa.data-website-id }}"
data-project-name="{{ site.kapa.data-project-name }}"
data-project-color="{{ site.kapa.data-project-color }}"
data-project-logo="{{ site.kapa.data-project-logo }}"
data-modal-title="{{ site.kapa.data-modal-title }}"
data-modal-disclaimer="{{ site.kapa.data-modal-disclaimer }}"
data-search-mode-enabled="{{ site.kapa.data-search-mode-enabled }}"
></script>
18 changes: 18 additions & 0 deletions assets/img/node-icon-alt.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 59e3c00

Please sign in to comment.