mirror of
https://github.com/jessebot/tiny_personal_website.git
synced 2025-10-01 01:48:43 +00:00
updating variables, passing more into index
This commit is contained in:
parent
b29f1c73e8
commit
35ed6127d9
3 changed files with 10 additions and 10 deletions
|
@ -23,8 +23,8 @@ Globals:
|
|||
resume_google_doc: 'https://docs.google.com/document/d/blahblahblah'
|
||||
# in your google doc, you can go to download as and right click copy that
|
||||
# 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'
|
||||
resume_pdf_URL: 'https://docs.google.com/document/d/blahblahblah/export?format=pdf'
|
||||
resume_docx_URL: '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
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
|
||||
<a class="menu-drop-item" target="_blank" href="{{gdoc_URL}}" role="button" data-toggle="tooltip" data-placement="bottom" title="Go to Google doc, or download directly">Live Doc</a>
|
||||
<h6 class="dropdown-header">Direct Downloads</h6>
|
||||
<a class="menu-drop-item" href="{{resume_pdf_download_URL}}">Download .PDF</a>
|
||||
<a class="menu-drop-item" href="{{resume_docx_download_URL}}">Download .Docx</a>
|
||||
<a class="menu-drop-item" href="{{resume_pdf_URL}}">Download .PDF</a>
|
||||
<a class="menu-drop-item" href="{{resume_docx_URL}}">Download .Docx</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
|
|
@ -43,8 +43,8 @@ def index():
|
|||
github_URL = get_global_variable('github_URL')
|
||||
linkedin_URL = get_global_variable('linkedin_URL')
|
||||
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')
|
||||
resume_pdf_URL = get_global_variable('resume_pdf_URL')
|
||||
resume_docx_URL = get_global_variable('resume_docx_URL')
|
||||
try:
|
||||
fork_me = get_global_variable('fork_me')
|
||||
except:
|
||||
|
@ -58,10 +58,10 @@ def index():
|
|||
browser_tab_title=browser_tab_title, main_pic=main_pic,
|
||||
name=name, gdoc_URL=gdoc_URL, fork_me=fork_me,
|
||||
github_URL=github_URL, linkedin_URL=linkedin_URL,
|
||||
resume_pdf_download_URL=resume_pdf_download_URL,
|
||||
resume_docx_download_URL=resume_docx_download_URL,
|
||||
optional_panel_title=optional_panel_title,
|
||||
optional_panel_pic=optional_panel_pic, blurb=blurb,
|
||||
resume_pdf_URL=resume_pdf_URL, occupation=occupation,
|
||||
resume_docx_URL=resume_docx_URL, likes=likes,
|
||||
optional_panel_title=optional_panel_title, blurb=blurb,
|
||||
optional_panel_pic=optional_panel_pic, skills=skills,
|
||||
optional_panel_button_text=optional_panel_button_text,
|
||||
optional_panel_button_URL=optional_panel_button_URL)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue