mirror of
https://github.com/jessebot/tiny_personal_website.git
synced 2025-10-01 01:48:43 +00:00
Good Guy Jesse lets you disable cheesy forkme banner <3
This commit is contained in:
parent
eefe1cc807
commit
4d768f37bf
3 changed files with 7 additions and 2 deletions
|
@ -19,6 +19,8 @@ Globals:
|
|||
# URL, or you can host a live copy at another URL
|
||||
resume_pdf_download: 'https://docs.google.com/document/d/blahblahblah/export?format=pdf'
|
||||
resume_docx_download: 'https://docs.google.com/document/d/blahblahblah/export?format=docx'
|
||||
# setting to false will remove fork me corner banner
|
||||
fork_me: True
|
||||
# Boolean, if set to True, will generate new panel with below info
|
||||
optional_panel: True
|
||||
# this could be social media, other conent, whatever suits you!
|
||||
|
|
|
@ -20,6 +20,8 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<a target="_blank" href="https://github.com/jessebot/tiny_personal_website"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a>
|
||||
% if fork_me:
|
||||
<a target="_blank" href="https://github.com/jessebot/tiny_personal_website"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a>
|
||||
% end
|
||||
<div class="container">
|
||||
<div class="starter-template">
|
||||
|
|
|
@ -40,6 +40,7 @@ def index():
|
|||
gdoc_URL = get_global_variable('resume_google_doc')
|
||||
resume_pdf_download_URL = get_global_variable('resume_pdf_download')
|
||||
resume_docx_download_URL = get_global_variable('resume_docx_download')
|
||||
fork_me = get_global_variable('fork_me')
|
||||
optional_panel = get_global_variable('optional_panel')
|
||||
optional_panel_title = get_global_variable('opt_panel_title')
|
||||
optional_panel_pic = get_global_variable('opt_panel_image')
|
||||
|
@ -51,7 +52,7 @@ def index():
|
|||
GitHub_URL=GitHub_URL, gdoc_URL=gdoc_URL,
|
||||
resume_pdf_download_URL=resume_pdf_download_URL,
|
||||
resume_docx_download_URL=resume_docx_download_URL,
|
||||
optional_panel=optional_panel,
|
||||
fork_me=fork_me, optional_panel=optional_panel,
|
||||
optional_panel_title=optional_panel_title,
|
||||
optional_panel_pic=optional_panel_pic,
|
||||
optional_panel_button_text=optional_panel_button_text,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue