Skip to content

Commit

Permalink
add webviso
Browse files Browse the repository at this point in the history
  • Loading branch information
notzhan committed Dec 26, 2024
1 parent 6094ae0 commit 72c75fb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build_site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,10 @@ build ()
cp static/favicon.png "$DEPLOY_DIRECTORY"/
cp static/background.png "$DEPLOY_DIRECTORY"/

echo "js"
mkdir -p ${DEPLOY_DIRECTORY}/scripts
cp static/webviso.js ${DEPLOY_DIRECTORY}/scripts/

rm -rf ${DEPLOY_DIRECTORY}/pics
mkdir -p ${DEPLOY_DIRECTORY}/pics

Expand Down
2 changes: 2 additions & 0 deletions static/footer-post.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
</article>
</main>
<footer>
<script defer src="/scripts/webviso.js" data-base-url="https://webviso.imtxc.com"></script>
<hr>
<center>
&copy; 2011-2023 <a href="/about.html">Imtxc</a>&nbsp;|
Generated by <a href="http://pandoc.org" target="_blank">Pandoc</a>,
theme <a href="https://www.sixfoisneuf.fr/" target="_blank">sixfoisneuf</a>,
licensed under <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a>
pv: <span id="page_pv"></span> uv: <span id="page_uv"></span>
</center>
</footer>
</div>
1 change: 1 addition & 0 deletions static/webviso.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 72c75fb

Please sign in to comment.