Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
css
 
 
doc
 
 
img
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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!

About

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

Resources

Releases

No releases published

Packages

No packages published