Skip to content

Commit

Permalink
feat: Add Zendesk integration
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklem committed May 7, 2024
1 parent 1d1ef68 commit b7b6915
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 8 deletions.
4 changes: 2 additions & 2 deletions material/assets/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.57114a05.min.js.map",
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.5845d53c.min.js",
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.5845d53c.min.js.map",
"assets/stylesheets/main.css": "assets/stylesheets/main.5cc77c8e.min.css",
"assets/stylesheets/main.css.map": "assets/stylesheets/main.5cc77c8e.min.css.map",
"assets/stylesheets/main.css": "assets/stylesheets/main.8604980a.min.css",
"assets/stylesheets/main.css.map": "assets/stylesheets/main.8604980a.min.css.map",
"assets/stylesheets/palette.css": "assets/stylesheets/palette.936ed772.min.css",
"assets/stylesheets/palette.css.map": "assets/stylesheets/palette.936ed772.min.css.map"
}
1 change: 0 additions & 1 deletion material/assets/stylesheets/main.5cc77c8e.min.css.map

This file was deleted.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions material/assets/stylesheets/main.8604980a.min.css.map

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions material/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.5cc77c8e.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.8604980a.min.css' | url }}">
{% if palette.primary or palette.accent %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.936ed772.min.css' | url }}">
{% endif %}
Expand Down Expand Up @@ -222,6 +222,7 @@ <h1>{{ page.title | default(config.site_name, true)}}</h1>
{% for path in config["extra_javascript"] %}
<script src="{{ path | url }}"></script>
{% endfor %}
{% endblock %}
{% include "partials/integrations/zendesk.html" %}
{% endblock %}
</body>
</html>
4 changes: 4 additions & 0 deletions material/partials/integrations/zendesk.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{#-
This file was automatically generated - do not edit
-#}
<script id="ze-snippet" src="https://static.zdassets.com/ekr/snippet.js?key=3d46eedc-c17f-4ae6-8385-a62571296d54"></script>
4 changes: 3 additions & 1 deletion src/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,8 @@ <h1>{{ page.title | default(config.site_name, true)}}</h1>
{% for path in config["extra_javascript"] %}
<script src="{{ path | url }}"></script>
{% endfor %}
{% endblock %}

{% include "partials/integrations/zendesk.html" %}
{% endblock %}
</body>
</html>
2 changes: 2 additions & 0 deletions src/partials/integrations/zendesk.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<!-- Zendesk integration -->
<script id="ze-snippet" src="https://static.zdassets.com/ekr/snippet.js?key=3d46eedc-c17f-4ae6-8385-a62571296d54"> </script>

0 comments on commit b7b6915

Please sign in to comment.