mirror of
https://github.com/jessebot/tiny_personal_website.git
synced 2025-10-01 01:48:43 +00:00
Adding variables for cookie cutter website format
This commit is contained in:
parent
ac0c7b6e7c
commit
bfcc78a5e9
1 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/python
|
||||
# production jessebot.com web routing bottle file
|
||||
# production web routing bottle file
|
||||
|
||||
import bottle
|
||||
from bottle import redirect, request, response, route
|
||||
|
@ -17,8 +17,10 @@ def get_global_variable(global_variable):
|
|||
return txt
|
||||
|
||||
|
||||
# grab web root
|
||||
# Grab site specific information
|
||||
WEB_ROOT = get_global_variable('web_root')
|
||||
TITLE = get_global_variable('web_title')
|
||||
|
||||
# set logging
|
||||
logging.basicConfig(stream=sys.stderr, level=logging.INFO)
|
||||
logging.info("logging config loaded")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue