Skip to content

Latest commit

 

History

History
36 lines (35 loc) · 1.89 KB

Customization.md

File metadata and controls

36 lines (35 loc) · 1.89 KB

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   |   Minimap
  • create zen-ipython/templates/post.tmpl and add:

    Did you like the content? Great!

    <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>

    Or visit my support page for more information.


    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 ;-)

  • 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