mirror of
https://github.com/asimonson1125/asimonson1125.github.io.git
synced 2026-02-25 05:09:49 -06:00
quick and easy certs page
This commit is contained in:
52
src/app.py
52
src/app.py
@@ -18,6 +18,12 @@ pages['books']['books'] = books
|
||||
|
||||
app = flask.Flask(__name__)
|
||||
|
||||
### TMP
|
||||
@app.route('/certs')
|
||||
def certs():
|
||||
return flask.render_template("certs.html")
|
||||
###
|
||||
|
||||
@app.route('/api/goto/')
|
||||
@app.route('/api/goto/<location>')
|
||||
def goto(location='home'):
|
||||
@@ -71,29 +77,29 @@ def hotspotsRIT():
|
||||
def hotspotsProxy(path):
|
||||
return requests.get(f"{HotspotsURL}/{path}").content
|
||||
|
||||
# @app.errorhandler(Exception)
|
||||
# def page404(e):
|
||||
# eCode = e.code
|
||||
# message = e.description
|
||||
# try:
|
||||
# message = e.length
|
||||
# finally:
|
||||
# pagevars = {
|
||||
# "template": "error.html",
|
||||
# "title": f"{eCode} - Simonson",
|
||||
# "description": "Error on Andrew Simonson's Digital Portfolio",
|
||||
# "canonical": "404",
|
||||
# }
|
||||
# return (
|
||||
# flask.render_template(
|
||||
# "header.html",
|
||||
# var=pagevars,
|
||||
# error=eCode,
|
||||
# message=message,
|
||||
# title=f"{eCode} - Simonson Portfolio",
|
||||
# ),
|
||||
# eCode,
|
||||
# )
|
||||
@app.errorhandler(Exception)
|
||||
def page404(e):
|
||||
eCode = e.code
|
||||
message = e.description
|
||||
try:
|
||||
message = e.length
|
||||
finally:
|
||||
pagevars = {
|
||||
"template": "error.html",
|
||||
"title": f"{eCode} - Simonson",
|
||||
"description": "Error on Andrew Simonson's Digital Portfolio",
|
||||
"canonical": "404",
|
||||
}
|
||||
return (
|
||||
flask.render_template(
|
||||
"header.html",
|
||||
var=pagevars,
|
||||
error=eCode,
|
||||
message=message,
|
||||
title=f"{eCode} - Simonson Portfolio",
|
||||
),
|
||||
eCode,
|
||||
)
|
||||
|
||||
|
||||
@app.route("/sitemap.xml")
|
||||
|
||||
55
src/templates/certs.html
Normal file
55
src/templates/certs.html
Normal file
@@ -0,0 +1,55 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>lol hi</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Andrew's Secret Certification Page</h1>
|
||||
|
||||
<strong
|
||||
>See
|
||||
<a
|
||||
href="https://www.linkedin.com/in/simonsonandrew/details/certifications/"
|
||||
>here</a
|
||||
>
|
||||
for a comprehensive list of certifications that can be confirmed by
|
||||
LinkedIn</strong
|
||||
>
|
||||
<p>
|
||||
Some highlights:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<a
|
||||
href="https://www.linkedin.com/learning/certificates/2cb69378c606fec5a6f3a107b99a896862db392b7a3692f71a6b53af5d5545c5"
|
||||
>Career Essentials in Data Analysis by Microsoft</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="https://www.linkedin.com/learning/certificates/7facc28a13405134b3b7fa785303e9b1cf697f32d67f759e89960fbdc8a044d9"
|
||||
>Career Essentials in GitHub Professional Certificate</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="https://www.linkedin.com/learning/certificates/7b952323152e258ca468c33ddc9ebcf3c55036f58a5cfb3fb9c1410da655aaa5"
|
||||
>Docker Foundations Professional Certificate</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="https://www.linkedin.com/learning/certificates/7017147ac73af5bc26fdab9b3c43671fb8105a0de59d4689d5f0f71c549c150f"
|
||||
>Data Science Foundations: Fundamentals</a
|
||||
>
|
||||
</li>
|
||||
</ul>
|
||||
<h2>RIT Entrepreneurial Certifications</h2>
|
||||
<ul>
|
||||
<li>Design Thinking Certification</li>
|
||||
<li>Ideation Certification</li>
|
||||
<li>Tools for Innovators Certification</li>
|
||||
</ul>
|
||||
<p>I have the pdfs for these somewhere that is not easily accessible to me as I try to push this out in a hurry. I have contacts if you want proof, I guess.</p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user