Skip to content

Commit

Permalink
Add a footer with a link to the GH repo
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierphi committed Jan 6, 2024
1 parent 2e93ccf commit c3b8b18
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
7 changes: 7 additions & 0 deletions myresume/templates/myresume/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<footer class="md:mx-auto md:max-w-256 my-4 text-sm text-center print:hidden">
The source code of this website is available on
<a href="https://github.com/olivierphi/my-resume/"
class="underline"
target="_blank"
rel="noopener">GitHub</a>.
</footer>
11 changes: 7 additions & 4 deletions myresume/templates/myresume/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@
<link rel="stylesheet" href="{% static 'fonts/ubuntu.css' %}">
<link rel="stylesheet" href="{% static 'fonts/pressstart2p.css' %}">
</head>
<body class="relative flex items-stretch flex-col-reverse md:mx-auto md:max-w-256 md:flex-row bg-slate-50 print:bg-white text-slate-800 font-sans {% if debug %}{{ "border border-black border-solid" }}{% endif %}">
{% include "myresume/pdf_and_language_toolbar.html" %}
{% include "myresume/about.html" %}
{% include "myresume/main.html" %}
<body class="bg-slate-50 print:bg-white text-slate-800 font-sans">
<div class="relative flex items-stretch flex-col-reverse md:mx-auto md:max-w-256 md:flex-row {% if debug %}{{ "border border-black border-solid" }}{% endif %}">
{% include "myresume/pdf_and_language_toolbar.html" %}
{% include "myresume/about.html" %}
{% include "myresume/main.html" %}
</div>
{% include "myresume/footer.html" %}
</body>
</html>

0 comments on commit c3b8b18

Please sign in to comment.