Code Monkey home page Code Monkey logo

sadielbartholomew.github.io's Introduction

sadielbartholomew.github.io

Full URL: https://sadielbartholomew.github.io/

The personal website of Sadie Louise Bartholomew

Designed & created by Sadie Louise Bartholomew, 2020+.

Infrastructure

Technologies & languages

Repository organisation

  • The content structure is defined in HTML templates under templates/. These are Jinja2 templates for HTML i.e. pure HTML templates except from lower-level elements in the document object model which are often Jinja2 expressions, functions or variables for which pre-defined content will be injected to give final, pure, HTML files defining the user-facing site.

  • The site design, i.e. the design mapping to the HTML templates, is stored under css/.

  • The content is located as follows:

    • written content is stored in YAML files directly under content/;
    • media is stored in an organised heirarchical structure under img/.

Build process

The command, executed from the root respoitory directory:

$ python rebuild-site.py

will rebuild the website to pick up on any changes made in the templates/, content/, img/ & css/ directories to produce the final, user-facing HTML files which are written directly to the root repository directory.

The command calls the Python script rebuild-site.py which:

  1. maps the content files to template files;
  2. processes the template files;
  3. uses Jinja2 to inject the YAML key-values from each content file into the corresponding key elements in the HTML templates;
  4. writes the populated HTML to the root repository directory.

Changes to the code should be built into the final pages via the rebuild command & then the full state of the repository committed to the master branch. The changes will then (possibly after a short-ish delay for GitHub to process them) display at the site domain, sadielbartholomew.github.io, as a GitHub Pages website.

sadielbartholomew.github.io's People

Contributors

sadielbartholomew avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.