Skip to content

Commit

Permalink
Move gist.js
Browse files Browse the repository at this point in the history
  • Loading branch information
thomiceli committed Dec 19, 2023
1 parent f69b068 commit 8727a42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion templates/base/gist_footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
{{ end }}

{{ define "gist_footer" }}
<script type="module" src="{{ asset "gist.ts" }}"></script>

</main>
</div>
Expand Down
2 changes: 2 additions & 0 deletions templates/pages/gist.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,7 @@ <h3 class="mt-2 text-sm font-medium text-slate-700 dark:text-slate-300">{{ .loca
<!-- make sure tailwind knows those classes -->
<button type="button" style="top: 1em !important; right: 1em !important;" class="hidden md-code-copy-btn absolute right-0 top-0 focus-within:z-auto rounded-md dark:border-gray-600 px-2 py-2 opacity-80 font-medium text-slate-700 bg-gray-100 dark:bg-gray-700 dark:text-slate-300 hover:bg-gray-200 dark:hover:bg-gray-600 hover:border-gray-500 hover:text-slate-700 dark:hover:text-slate-300 focus:border-primary-500 focus:outline-none focus:ring-1 focus:ring-primary-500"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-5 h-5"><path stroke-linecap="round" stroke-linejoin="round" d="M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 002.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 00-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 00-3.375-3.375h-1.5a1.125 1.125 0 01-1.125-1.125v-1.5A3.375 3.375 0 006.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0015 2.25h-1.5a2.251 2.251 0 00-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 00-9-9z" /></svg></button>

<script type="module" src="{{ asset "gist.ts" }}"></script>

{{ template "gist_footer" .}}
{{ template "footer" .}}

0 comments on commit 8727a42

Please sign in to comment.