mirror of
https://github.com/jessebot/tiny_personal_website.git
synced 2025-10-01 01:48:43 +00:00
fixing bottle errors and starting dockerization process
This commit is contained in:
parent
d1fb9996ae
commit
4decf74098
7 changed files with 24 additions and 6854 deletions
|
@ -4,17 +4,17 @@ web_root: '/var/www/html'
|
|||
# favicon, can take any image type
|
||||
favicon: 'favicon_smile.gif'
|
||||
# domain name, or whatever you want the tab in the browser to say
|
||||
website_title: 'example.com'
|
||||
website_title: 'jessebot.work'
|
||||
# the default image shown at the front of the page
|
||||
image: './my_picture.png'
|
||||
# Your name
|
||||
name: 'Bob Smith'
|
||||
name: 'Jesse Hitch'
|
||||
# Job Title
|
||||
occupation: 'professional basket weaver'
|
||||
occupation: 'DevOps Engineer'
|
||||
# Skills - what you're good at.
|
||||
skills: ['cooking','web design']
|
||||
skills: ['linux', 'devops']
|
||||
# things you like
|
||||
likes: ['videogames','analogies','silly hair']
|
||||
likes: ['videogames', 'analogies', 'silly hair']
|
||||
# Full URL to your github
|
||||
github_URL: 'https://github.com/jessebot'
|
||||
# Full URL to your linkedin public profile
|
||||
|
@ -23,8 +23,7 @@ linkedin_URL: 'https://www.linkedin.com/in/jesse-hitch-8b5b023a/'
|
|||
resume_live_doc_URL: '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_URL: 'https://docs.google.com/document/d/blahblahblah/export?format=pdf'
|
||||
resume_docx_URL: 'https://docs.google.com/document/d/blahblahblah/export?format=docx'
|
||||
resume_pdf_URL: ''
|
||||
# setting to false will remove fork me corner banner
|
||||
fork_me: True
|
||||
# Boolean, if set to True, will generate new panel with below info
|
||||
|
|
|
@ -22,7 +22,6 @@ def get_global_variables():
|
|||
return doc
|
||||
|
||||
|
||||
# full path to HTML templates
|
||||
app = Flask(__name__)
|
||||
|
||||
|
||||
|
@ -31,7 +30,7 @@ def index():
|
|||
# Grab site specific information - YAML
|
||||
log.info("Good morning, sunshine. It's index time.")
|
||||
globals = get_global_variables()
|
||||
return render_template('index', globals=globals)
|
||||
return render_template('index.html', globals=globals)
|
||||
|
||||
|
||||
@app.route('/static/images/<filename>')
|
||||
|
|
6805
static/css/bootstrap.css
vendored
6805
static/css/bootstrap.css
vendored
File diff suppressed because it is too large
Load diff
11
static/css/bootstrap.min.css
vendored
11
static/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -1,7 +1,7 @@
|
|||
<!-- Bootstrap core JavaScript -->
|
||||
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
|
||||
<!-- JavaScript Bundle with Popper -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3" crossorigin="anonymous"></script>
|
||||
|
||||
|
||||
<script>
|
||||
$(function () {
|
||||
|
|
|
@ -7,33 +7,21 @@
|
|||
<meta name="description" content="Resume website for {{globals['name']}}">
|
||||
<meta name="author" content="Jesse Hitch">
|
||||
<meta name="theme-color" content="#1f1f1f" />
|
||||
<link rel="icon" type="image/x-icon" href="/images/{{globals['favicon']}}">
|
||||
|
||||
<link rel="icon" type="image/x-icon" href="/static/img/{{globals['favicon']}}">
|
||||
<meta property="og:url" content="https://jessebot.io">
|
||||
<meta property="og:image" content="/images/{{globals['image']}}">
|
||||
<meta property="og:image" content="/static/img/{{globals['image']}}">
|
||||
<meta property="og:title" content="{{globals['website_title']}}">
|
||||
<meta property="og:description" content="Resume website for {{globals['name']}}">
|
||||
<meta property="og:type" content="profile">
|
||||
|
||||
|
||||
|
||||
<title>{{globals['website_title']}}</title>
|
||||
|
||||
<!-- Bootstrap core CSS -->
|
||||
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
|
||||
<!-- Custom styles for this template -->
|
||||
<link href="/css/main.css" rel="stylesheet">
|
||||
<link href="css/tabs.css" rel="stylesheet">
|
||||
<link href="css/font-style.css" rel="stylesheet">
|
||||
|
||||
<style type="text/css">
|
||||
body {
|
||||
padding-top: 60px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<link href="/static/css/main.css" rel="stylesheet">
|
||||
<link href="/static/css/tabs.css" rel="stylesheet">
|
||||
<link href="/static/css/font-style.css" rel="stylesheet">
|
||||
|
||||
<body>
|
||||
% if globals['fork_me']:
|
||||
<a href="https://github.com/jessebot/tiny_personal_website" class="github-corner" aria-label="View source on Github"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#1f1f1f; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)']}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out']}}</style>
|
||||
% end
|
||||
{% if globals['fork_me'] %}
|
||||
<a href="https://github.com/jessebot/tiny_personal_website" class="github-corner" aria-label="View source on Github"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#1f1f1f; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)']}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out']}}</style>
|
||||
{% endif %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
% include('header_main.tpl')
|
||||
{% include('header_main.html') %}
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
|
@ -10,7 +10,7 @@
|
|||
</dtitle>
|
||||
<hr style="margin-bottom: 0;">
|
||||
<img class="img-responsive img-rounded center-block main-img"
|
||||
src="/images/{{ globals['image'] }}"
|
||||
src="/static/img/{{ globals['image'] }}"
|
||||
alt="What I look like."
|
||||
style="width:250px;"
|
||||
data-toggle="tooltip" data-placement="bottom"
|
||||
|
@ -22,17 +22,17 @@
|
|||
<ul class="nav nav-tabs" role="tablist">
|
||||
<li role="presentation" class="col-lg-4 col-md-4 col-sm-4 col-xs-4 col-xl-4 active">
|
||||
<a href="#resume" aria-control="resume" role="tab" data-toggle="tab" aria-expanded="true">
|
||||
<img src="/images/googledocs.svg" style="width: 64px;">
|
||||
<img src="/static/img/googledocs.svg" style="width: 64px;">
|
||||
</a>
|
||||
</li>
|
||||
<li role="presentation" class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
|
||||
<a href="#linkedin" aria-control="linkedin" role="tab" data-toggle="tab" aria-expanded="false">
|
||||
<img src="/images/linkedin.svg" style="width: 64px;">
|
||||
<img src="/static/img/linkedin.svg" style="width: 64px;">
|
||||
</a>
|
||||
</li>
|
||||
<li role="presentation" class="col-lg-4 col-md-4 col-sm-4 col-xs-4 col-xl-6">
|
||||
<a href="#github" aria-control="github" role="tab" data-toggle="tab" aria-expanded="false">
|
||||
<img src="/images/github-cat.svg" style="width: 64px;">
|
||||
<img src="/static/img/github-cat.svg" style="width: 64px;">
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -108,4 +108,4 @@
|
|||
</div><!-- /.row ALL CARDS-->
|
||||
</div><!-- /.container MAIN-->
|
||||
|
||||
% include('footer_main.tpl')
|
||||
{% include('footer_main.html') %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue