1
0
Fork 0

Initial commit

This commit is contained in:
Owen Ryan 2023-05-15 23:59:18 -04:00
commit 530fc76ede
84 changed files with 60305 additions and 0 deletions

12
_layouts/base.html Normal file
View file

@ -0,0 +1,12 @@
---
# Base HTML layout with the bare essentials
---
<!DOCTYPE html>
<html class="h-100" lang="en" data-bs-theme="dark">
{% include head.html %}
<body class="d-flex flex-column h-100">
{{ content }}
<script src="/assets/bootstrap/js/bootstrap.bundle.min.js"></script>
</body>
</html>

8
_layouts/basicmd.html Normal file
View file

@ -0,0 +1,8 @@
---
# Layout for basic markdown pages. Everything is nested in a container and row
layout: main
---
<div class="container">
{{ content }}
</div>

12
_layouts/main.html Normal file
View file

@ -0,0 +1,12 @@
---
# Base layout with header, footer, and content is in a main tag
layout: base
---
{% include header.html %}
<main class="flex-shrink-0">
{{ content }}
</main>
{% include footer.html %}

33
_layouts/project.html Normal file
View file

@ -0,0 +1,33 @@
---
layout: main
---
<div class="container">
<div class="row d-flex">
<div class="col-md-auto p-2">
<div class="card project-card">
{% if page.thumbnail_url %}
<img src="{{ page.thumbnail_url }}" class="card-img-top" alt="{{ page.title }} thumbnail">
{% endif %}
<div class="card-body">
<p>{{ page.description }}</p>
{% if page.project_url %}
<a href="{{ page.project_url }}" class="btn btn-primary">
<i class="fa-solid fa-arrow-up-right-from-square"></i>
Project
</a>
{% endif %}
{% if page.source_url %}
<a href="{{ page.source_url }}" class="btn btn-primary">
<i class="fa-solid fa-code"></i>
Source Code
</a>
{% endif %}
</div>
</div>
</div>
<div class="col">
{{ content }}
</div>
</div>
</div>