Further markdown implementation
This commit is contained in:
		
							parent
							
								
									3b11220b7c
								
							
						
					
					
						commit
						b790e8fd8e
					
				| 
						 | 
				
			
			@ -1,3 +1,5 @@
 | 
			
		|||
2021-06-01
 | 
			
		||||
 | 
			
		||||
# Keep It Simple
 | 
			
		||||
 | 
			
		||||
While studying architecture not only had I so little money that I ate
 | 
			
		||||
| 
						 | 
				
			
			@ -21,8 +23,7 @@ using your product. In proxy, any room, place or inanimate object
 | 
			
		|||
created by a human speaks to the user. Even on an emotional level.
 | 
			
		||||
Psychologists or product designers like computer and car designers are
 | 
			
		||||
no strangers to this. Donald Norman wrote multiple books about it
 | 
			
		||||
[[2]]{#references){style="text-decoration:none"},
 | 
			
		||||
[[3]](#references){style="text-decoration:none"}. Some good reads.
 | 
			
		||||
[[2]](#references), [[3]](#references). 
 | 
			
		||||
Schulz von Thun defined the [four-ears
 | 
			
		||||
model](http://temp.chpfeiffer.de/Four-sides_model.pdf) in which a
 | 
			
		||||
sender's message is received on four different levels. These are Factual
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,3 +1,5 @@
 | 
			
		|||
2022-05-29
 | 
			
		||||
 | 
			
		||||
# The Joy of One-Liners
 | 
			
		||||
 | 
			
		||||
There is an engineering idiom which withstands time like no other. As
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,13 +19,13 @@ app = Flask(__name__)
 | 
			
		|||
Markdown(app)
 | 
			
		||||
 | 
			
		||||
meta_data = {
 | 
			
		||||
    root[len("./blog/"):]: datetime.fromtimestamp(
 | 
			
		||||
        os.path.getmtime(
 | 
			
		||||
            os.path.join(root, "index.html")
 | 
			
		||||
            )
 | 
			
		||||
    root[len("./blog/"):]: datetime.strptime(
 | 
			
		||||
        open(os.path.join(root, "index.md"), encoding='UTF-8')
 | 
			
		||||
        .readline().rstrip(),
 | 
			
		||||
        "%Y-%m-%d"
 | 
			
		||||
        )
 | 
			
		||||
    for root, dirs, files in os.walk("./blog")
 | 
			
		||||
    if "index.html" in files
 | 
			
		||||
    if "index.md" in files
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
app.config["blog"] = toml.load("settings.toml")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,2 +1,2 @@
 | 
			
		|||
<?xml version='1.0' encoding='UTF-8'?>
 | 
			
		||||
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0"><channel><title>Website of Stefan Friese</title><link>https://stefan.works</link><description>test</description><atom:link href="https://stefan.works" rel="self"/><docs>http://www.rssboard.org/rss-specification</docs><generator>python-feedgen</generator><language>en-us</language><lastBuildDate>Sat, 08 Jul 2023 11:34:36 +0000</lastBuildDate><item><title>The Joy of One-Liners</title><link>https://stefan.works/blog/The Joy of One-Liners/index.html</link><guid isPermaLink="false">https://stefan.works/blog/The Joy of One-Liners/index.html</guid><pubDate>Sun, 29 May 2022 22:52:44 +0200</pubDate></item><item><title>Keep It Simple</title><link>https://stefan.works/blog/Keep It Simple/index.html</link><guid isPermaLink="false">https://stefan.works/blog/Keep It Simple/index.html</guid><pubDate>Tue, 01 Jun 2021 22:47:04 +0200</pubDate></item></channel></rss>
 | 
			
		||||
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0"><channel><title>Website of Stefan Friese</title><link>https://stefan.works</link><description>test</description><atom:link href="https://stefan.works" rel="self"/><docs>http://www.rssboard.org/rss-specification</docs><generator>python-feedgen</generator><language>en-us</language><lastBuildDate>Tue, 11 Jul 2023 21:32:56 +0000</lastBuildDate><item><title>The Joy of One-Liners</title><link>https://stefan.works/blog/The Joy of One-Liners/index.html</link><guid isPermaLink="false">https://stefan.works/blog/The Joy of One-Liners/index.html</guid><pubDate>Sun, 29 May 2022 00:00:00 +0200</pubDate></item><item><title>Keep It Simple</title><link>https://stefan.works/blog/Keep It Simple/index.html</link><guid isPermaLink="false">https://stefan.works/blog/Keep It Simple/index.html</guid><pubDate>Tue, 01 Jun 2021 00:00:00 +0200</pubDate></item></channel></rss>
 | 
			
		||||
| 
						 | 
				
			
			@ -25,11 +25,12 @@ h2 { font-size: 22px;  margin-bottom: 2px; }
 | 
			
		|||
h3 { font-size: 14px; } 
 | 
			
		||||
p  { font-size: 16px; }
 | 
			
		||||
blockquote { text-align: center; font-size: 16px; font-style: normal; line-height: 30px;}
 | 
			
		||||
pre { border: 1px solid #ddd; font-size: 14px; padding-left: 2ch; line-height: 18px; overflow: auto; }
 | 
			
		||||
code { background-color: #282C34; color: #979FAD; }
 | 
			
		||||
hr { height: 1px; border: 0px;}
 | 
			
		||||
pre { border: 1px solid #ddd; font-size: 14px; padding: 1ch; line-height: 18px; overflow: auto; }
 | 
			
		||||
/* code { background-color: #282C34; color: #979FAD; } */
 | 
			
		||||
code {padding-left: 0.5ch; padding-right: 0.5ch;}
 | 
			
		||||
/* hr { height: 1px; border: 0px;} */
 | 
			
		||||
a {color: inherit; text-decoration: solid underline;}  
 | 
			
		||||
img { max-width: 100%; }
 | 
			
		||||
img { max-width: 100%; display: block; margin-left: auto; margin-right: auto; }
 | 
			
		||||
.menu { line-height: 1em; font-size: 24px; line-height: 1em; text-decoration: none; }
 | 
			
		||||
.index { color: inherit; text-decoration: solid underline; }
 | 
			
		||||
.references { text-decoration: solid underline; text-underline-position: under; }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,7 +4,7 @@
 | 
			
		|||
{% endblock %}
 | 
			
		||||
{% block content %} 
 | 
			
		||||
       <span class="body">
 | 
			
		||||
           {{ _date.date() }}
 | 
			
		||||
           <!-- {{ _date.date() }} -->
 | 
			
		||||
           {{ md_doc|markdown }}
 | 
			
		||||
        </span>
 | 
			
		||||
{% endblock %}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue