mirror of
https://github.com/tiyn/beaker-blog.git
synced 2025-10-24 16:51:15 +02:00
adding dockerfile
This commit is contained in:
11
src/templates/archive.html
Normal file
11
src/templates/archive.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{% extends 'template.html' %}
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<div class="blogarchive">
|
||||
<h1>Blog-Archive</h1><br>
|
||||
{% autoescape off %}
|
||||
{{ content_string }}
|
||||
{% endautoescape %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
2
src/templates/entry/test-entry1.html
Normal file
2
src/templates/entry/test-entry1.html
Normal file
@@ -0,0 +1,2 @@
|
||||
Test Entry Title 1
|
||||
This is an example blog entry.
|
||||
2
src/templates/entry/test-entry2.html
Normal file
2
src/templates/entry/test-entry2.html
Normal file
@@ -0,0 +1,2 @@
|
||||
Test Entry Title 2
|
||||
This is another example blog entry.
|
||||
10
src/templates/entry/test-entry3.md
Normal file
10
src/templates/entry/test-entry3.md
Normal file
@@ -0,0 +1,10 @@
|
||||
Test Entry Title 3
|
||||
This is a markdown file
|
||||
|
||||
- list entry
|
||||
- list entry
|
||||
- list entry
|
||||
|
||||
# md-header
|
||||
|
||||
more content
|
||||
9
src/templates/error.html
Normal file
9
src/templates/error.html
Normal file
@@ -0,0 +1,9 @@
|
||||
{% extends "template.html" %}
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<div class="important">
|
||||
Error<br>
|
||||
<span>{{ errorcode }}</span>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
15
src/templates/index.html
Normal file
15
src/templates/index.html
Normal file
@@ -0,0 +1,15 @@
|
||||
{% extends "template.html" %}
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<div class="blog">
|
||||
<h1>Blog-Index</h1><br>
|
||||
<p>
|
||||
<a href="archive">Archive</a><br>
|
||||
<a href="feed.xml">RSS</a>
|
||||
</p>
|
||||
{% autoescape off %}
|
||||
{{ content_string }}
|
||||
{% endautoescape %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
16
src/templates/rss.xml
Normal file
16
src/templates/rss.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
|
||||
<channel>
|
||||
<title>Blog Title</title>
|
||||
<description>A short description of the blog.</description>
|
||||
<language>en-us</language>
|
||||
<link>localhost:5000/feed.xml</link>
|
||||
<atom:link href="/feed.xml" rel="self" type="application/rss+xml" />
|
||||
|
||||
{% autoescape off %}
|
||||
{{ content_string }}
|
||||
{% endautoescape %}
|
||||
|
||||
</channel>
|
||||
</rss>
|
||||
14
src/templates/template.html
Normal file
14
src/templates/template.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>{{ title }}</title>
|
||||
<link href="{{ url_for('static', filename='css/style.css') }}" rel="stylesheet" type="text/css">
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width", initial-scale=1.0>
|
||||
</head>
|
||||
<body>
|
||||
<!-- Content -->
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
<!-- Content -->
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user