summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html31
-rw-r--r--templates/index.html31
-rw-r--r--templates/stories.html35
-rw-r--r--templates/story.html7
4 files changed, 0 insertions, 104 deletions
diff --git a/templates/base.html b/templates/base.html
deleted file mode 100644
index 5d68644..0000000
--- a/templates/base.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <title>{% block title %}{% endblock title %} - Vithuran Vishnuthas</title>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="/style.css">
- <link rel="icon" href="data:,">
-</head>
-
-<body>
- <header>
- <u><a href="/index.html"><h1>Writer V2</h1></a></u>
- Vithuran Vishnuthas
- </header>
- <nav>
- <a href="/index.html">Home</a>
- <a href="/stories.html">Stories</a>
- </nav>
- <main>
- {% block content %} {% endblock content%}
- </main>
- <footer>
- Vithuran Vishnuthas &copy; 2022 - {{ now() | date(format="%Y") }}
- </footer>
- {% block jsfile %}
- {% endblock jsfile %}
-</body>
-
-</html>
diff --git a/templates/index.html b/templates/index.html
deleted file mode 100644
index 800d539..0000000
--- a/templates/index.html
+++ /dev/null
@@ -1,31 +0,0 @@
-{% extends "base.html" %}
-{% block title %}Home{% endblock title %}
-{% block content %}
-<h2>About Me</h2>
-<main>
- <div class="about-me">
- <div class="card">
- <h3>Skills</h3>
- <ul>
- <li><span>Spoken Languages:</span> German, English, Tamil</li>
- <li><span>Programming Languages:</span> Rust, Python</li>
- <li><span>Interests:</span> Software development, writing</li>
- </ul>
- </div>
- <div class="card">
- <h3>Education & Work</h3>
- <ul>
- <li><span>2010 - 2018:</span> Abitur - Maria-Theresia-Gymnasium Munich</li>
- <li><span>2022 - ?:</span> Software development apprenticeship at Dontenwill AG</li>
- </ul>
- </div>
- <div class="card">
- <h3>Contact & Social Media</h3>
- <ul>
- <li><span>E-Mail:</span> <a href="mailto:primary-v2@protonmail.com">primary-v2@protonmail.com</a></li>
- <li><span>Github:</span> <a href="https://github.com/WriterV2">WriterV2</a></li>
- </ul>
- </div>
- </div>
-</main>
-{% endblock content %}
diff --git a/templates/stories.html b/templates/stories.html
deleted file mode 100644
index bd1aab9..0000000
--- a/templates/stories.html
+++ /dev/null
@@ -1,35 +0,0 @@
-{% extends "base.html" %}
-{% block title %}Stories{% endblock title %}
-{% block content %}
-<h2>My Stories</h2>
-<p class="works-description">
-Despite my linguistic difficulties to express myself, my love for story telling is present in a few mediums. Most of my writings are German and somewhere on the fantasy-magical realism spectrum. Feedback and criticism is welcomed!
-</p>
-<div class="works-filter">
- <form>
- <label for="language-select">Language: </label>
- <select name="language" id="language-select">
- <option value="*">All</option>
- {% for work in works | unique(attribute="language") %}
- <option value="{{work.language}}">{{work.language}}</option>
- {% endfor %}
- </select>
- </form>
-</div>
-<div class="works">
- {% for work in works | sort(attribute="last_update") | reverse %}
- <a href="./stories/{{ work.path_to_document | replace(from='pdf', to='html') }}" class="work-card card">
- <div class="title-and-description">
- <h3>{{work.title}}</h3>
- <p>{{work.description}}</p>
- </div>
- <div class="info">
- <span>{{work.number_of_pages}} Pages</span>
- <span class="story-language">{{work.language}}</span>
- <span>Last Update: {{work.last_update}}</span>
- </div>
- </a>
- {% endfor %}
-</div>
-{% endblock content %}
-{% block jsfile %}<script src="./stories.js"></script>{% endblock jsfile %}
diff --git a/templates/story.html b/templates/story.html
deleted file mode 100644
index 14d1c86..0000000
--- a/templates/story.html
+++ /dev/null
@@ -1,7 +0,0 @@
-{% extends "base.html" %}
-{% block title %}{{story.title}}{% endblock title %}
-{% block content %}
- <h2>{{story.title}}</h2>
- <a class="download-button" href="{{story.path_to_document}}" download>Download PDF</a>
- <div class="story-text">{{text | safe}}</div>
-{% endblock content %}