Skip to content
Personal portfolio page, written from scratch. Practicing controlling element placement with my mind (CSS).
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
blog
blog_pics/20161129_new_charger
blog_posts
css
doc
img
screenshots
CNAME
README.md
about.html
atom.xml
blog.html
contact.html
index.html
new-charger.html
take-a-look-at-me-starting-a-blog.html
talks.html

README.md

vzhz.github.io

Personal portfolio page, written from scratch. Practicing controlling element placement with my mind (CSS).

To test your templating locally

This site is now being templated using Jinja2. If you would like to clone and further adjust the template, you can use static website generator to test that your templating is including all parts of the site.

To test with a static site generator:

  • Ensure that the file compiler.py (from this blog post) is in your primary folder and that your HTML files are in a src/ folder and your assets (css, js, images, etc.) in a static subdirectory. Your generated HTML will appear in a dist directory once run.
  • Start a local Python server with python -m SimpleHTTPServer 8000 while in the project folder.
  • Open a browser to http://localhost:8000/. Nothing yet!
  • From a new terminal tab, navigate to the project's primary directory and run python compiler.py
  • Check that the result shown in the browser is what you expect. Cheer and abstract on if it is!
You can’t perform that action at this time.