Giter Site home page Giter Site logo

hackpad-templator's People

Contributors

agdturner avatar jhodrien avatar lukeconibear avatar sparrow0hawk avatar

Watchers

 avatar  avatar  avatar  avatar

hackpad-templator's Issues

Creating duplicate hackpads

I usually create a hackpad by navigating to the GitHub repository, clicking full stop on the keyboard and getting the quick github.dev editor.

Within this I create a branch and update the config and add this commit (which is automagically pushes to the repository).

However, this always leads to duplicate hackpads being created because the action runs on any push to a branch that isn't main, dev-* or master. So the very action of creating a new branch triggers the create template action.

The simple fix for this is for me to not use this method of creating a hackpad branch and just do it locally or via a codespace. This should be documented potentially to avoid this issue.

Update template files for in person training

Currently template files work on the assumption the training is half days. When training is in-person the schedule should be for a full day 0930-1600.

Suggested changes:

  • config.yaml should have different syntax:
date: "2021-11" 
timing: all-day # accepted values being `morning`, `afternoon`, `all-day`

The jinja logic will become:

{% if timing == "morning" %}
Morning timetable
{% else if timing == "afternoon" %}
Afternoon timetable
{% else if timing == "all-day" %}
All-day timetable
{% endif %}

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.