Skip to content

Instantly share code, notes, and snippets.

@chrimaho
Created April 29, 2022 06:58
Show Gist options
  • Save chrimaho/8ed3828f349b13cb77dc8f427e7d8b0d to your computer and use it in GitHub Desktop.
Save chrimaho/8ed3828f349b13cb77dc8f427e7d8b0d to your computer and use it in GitHub Desktop.
# Set Landing Page ----
with open("./templates/landing_page.html") as file:
LANDING_PAGE = file.read() \
.format \
( TITLE = TITLE
, DESCRIPTION = DESCRIPTION
, VERSION = VERSION
, GIT_URL = GIT_URL
, API_ENDPOINT = API_ENDPOINT
, REPO_DIR = REPO_DIR
, CONTACT_NAME = CONTACT_DETAILS["name"]
, CONTACT_EMAIL = CONTACT_DETAILS["email"]
, CONTACT_URL = CONTACT_DETAILS["url"]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment