Added the ability to have directory listings and moved to rst

+ Added projects/website.rst to describe the site
+ Updated templates
+ Added more comments
This commit is contained in:
2020-02-21 21:54:17 -06:00
parent 5e161f9b35
commit 26575adb87
8 changed files with 190 additions and 51 deletions
+1 -1
View File
@@ -24,5 +24,5 @@
'--' `---` '--'
</pre>
<p class="text body">
<br>Page: {{ error_page }} Not found...<br>
<br>Page "{{ error_page }}" Not found...<br>
{% endblock content %}
+1 -1
View File
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<link rel="stylesheet" type="text/css" href="/static/style.css" xmlns="http://www.w3.org/1999/html">
<html lang="en">
<head>
<link rel="stylesheet" type="text/css" href="/static/style.css" xmlns="http://www.w3.org/1999/html">
<meta charset="UTF-8">
<title>Joey Hines.</title>
<link href="https://fonts.googleapis.com/css?family=Ubuntu+Mono&display=swap" rel="stylesheet">
+3 -1
View File
@@ -5,6 +5,7 @@
{% endblock command %}
{% block content %}
<br/>
> Aspiring Embedded Software Engineer <br/>
> Electrical and Computer Engineering Masters Student at Auburn University <br/>
> Graduated from the University of Texas at Dallas with a BS in Computer Engineering <br/>
@@ -12,8 +13,9 @@
<br/>
<span class="prompt">joey@ahines:~$</span> ls <br/>
<br/>
{% for link in links %}
<a class="link" href="/{{ link.link_name }}">{{ link.link_name }}</a>&nbsp;&nbsp;
<a class="link" href="about/{{ link.link_name }}">{{ link.link_name }}</a>&nbsp;&nbsp;
{% endfor %}
<a class="link" href="https://www.github.com/joeyahines"> github</a>&nbsp;&nbsp;
<a class="link" href="mailto:joey@ahines.net"> email</a>&nbsp;&nbsp;
+13
View File
@@ -0,0 +1,13 @@
{% extends "base" %}
{% block command %}
ls {{ page_data.site_file.link_name }}
{% endblock command %}
{% block content %}
{% for link in page_data.links %}
<br>
<a class="link" href="{{ page_data.site_file.link_name}}/{{ link.link_name }}">{{ link.link_name }}</a>&nbsp;&nbsp;
{% endfor %}
<br>
{% endblock content %}
@@ -1,11 +1,11 @@
{% extends "base" %}
{% block command %}
cat {{ page }}.md
cat {{ page }}.rst
{% endblock command %}
{% block content %}
<br/>
{{ md_data | safe }}
{{ content | safe }}
{% endblock content %}