Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
damianavila committed Nov 4, 2024
1 parent 8dab2f6 commit 4671333
Show file tree
Hide file tree
Showing 975 changed files with 41,409 additions and 34,127 deletions.
1,445 changes: 933 additions & 512 deletions .doit.db.bak

Large diffs are not rendered by default.

Binary file modified .doit.db.dat
Binary file not shown.
1,445 changes: 933 additions & 512 deletions .doit.db.dir

Large diffs are not rendered by default.

43 changes: 43 additions & 0 deletions .ipynb_checkpoints/Customization-checkpoint.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
My customizations...

* toogle.tpl at the top directory
* Added toggle.js, and miniPageNav.js to js folder
* Added toggle.js, and miniPageNav.js to bundles:
assets/js/all-nocdn.js=jquery-1.10.2.min.js,jquery.timeago.js,toggle.js,miniPageNav.js
* add to {% macro html_sourcelink() %} in zen-ipython/templates/arusahni_helper.tmpl
  |  
<a href='javascript:$.getScript("/assets/js/miniPageNav.js");'>Minimap</a>
* create zen-ipython/templates/post.tmpl and add:
<p>Did you like the content? Great!</p>
<script type='text/javascript' src='https://ko-fi.com/widgets/widget_2.js'></script>
<script type='text/javascript'>kofiwidget2.init('Support Me on Ko-fi', '#2e2e2e', 'F1F41HSJ8');kofiwidget2.draw();</script>
<p>Or visit my <a href="https://damianavila.github.io/blog/stories/support-me/index.html">support</a> page for more information.</p>
<br>
<p>Btw, don't forget this blog post is an ipynb file itself! So, you can download it from the "Source" link
at the top of the post if you want to play with it ;-)</p>
* create zen-ipython/templates/index.tmpl and add:
{% block extra_head %}
{{ super() }}
<style>
div.input_prompt {
display: none;
}
</style>
{% endblock %}
* add to nikola-ipython.css:
.page-content > .content h1, .page-content > .content .h1 {
text-align: center;
}
* change bundles:
assets/css/all-nocdn.css=bitter.css,main.css,rst.css,code.css,ipython.min.css,nikola_ipython.css,custom.css
assets/css/all.css=main.css,rst.css,code.css,ipython.min.css,nikola_ipython.css,custom.css
assets/js/all-nocdn.js=jquery-1.10.2.min.js,jquery.timeago.js,toggle.js,miniPageNav.js
* Fontawesome through https
https://github.com/getnikola/nikola-themes/commit/c9039ee96cd2322de435f526f3eb384d6234649b

Last iteration (Nov 2024)

I commented out the toogle piece from the conf.py file becuase it is curerntly broken and less useful for now.
TODO: Remove all these toogle pieces.
TODO: Remove all the minipage nav as well (not working with Github).
TODO: Use newer font awesome or some alternative.
Loading

0 comments on commit 4671333

Please sign in to comment.