parent
5190e4b812
commit
ba35bf5466
6 changed files with 135 additions and 46 deletions
@ -1,5 +1,56 @@ |
||||
Title: My First Review |
||||
Date: 2010-12-03 10:20 |
||||
Modified: 2020-05-09 5:12 |
||||
Category: Review |
||||
Summary: test |
||||
|
||||
Following is a review of my favorite mechanical keyboard. |
||||
[TOC] |
||||
|
||||
Following is a review of my favorite xyz. |
||||
|
||||
asdfasdfasdfasdf |
||||
|
||||
## header |
||||
|
||||
test test |
||||
|
||||
``` |
||||
this is a code block |
||||
<html> |
||||
|
||||
</html> |
||||
``` |
||||
|
||||
### smaller header |
||||
|
||||
hello world |
||||
|
||||
#### Tiny header |
||||
|
||||
paragraph |
||||
|
||||
##### mini header |
||||
|
||||
paragraph |
||||
|
||||
### how to install |
||||
|
||||
update packages: |
||||
|
||||
``` |
||||
sudo apt update |
||||
``` |
||||
|
||||
install packages: |
||||
|
||||
``` |
||||
sudo apt install qot |
||||
``` |
||||
|
||||
clone the repo: |
||||
|
||||
``` |
||||
git clone https://example.com |
||||
``` |
||||
|
||||
all done! |
||||
|
@ -0,0 +1,20 @@ |
||||
{% extends "base.html" %} |
||||
|
||||
{% block content %} |
||||
<header> |
||||
<h1>{{ article.title }}</h1> |
||||
<p class="metadata"> |
||||
{{ article.locale_date }} |
||||
{% if article.modified %} |
||||
— updated {{ article.locale_modified }} |
||||
{% endif %} |
||||
</p> |
||||
<div class="summary"> |
||||
{{ article.summary }} |
||||
</div> |
||||
</header> |
||||
<hr /> |
||||
<article> |
||||
{{ article.content }} |
||||
</article> |
||||
{% endblock %} |
@ -0,0 +1,16 @@ |
||||
{% extends "base.html" %} |
||||
|
||||
{% block content %} |
||||
{% for article in articles_page.object_list %} |
||||
<h2><a href="{{ article.url }}">{{ article.title }}</a></h2> |
||||
<p class="metadata"> |
||||
{{ article.locale_date }} |
||||
{% if article.modified %} |
||||
— updated {{ article.locale_modified }} |
||||
{% endif %} |
||||
</p> |
||||
<div class="summary"> |
||||
{{ article.summary }} |
||||
</div> |
||||
{% endfor %} |
||||
{% endblock %} |
Loading…
Reference in new issue