The bmannconsulting.com website
at archivetrim 1.4 kB view raw
1--- 2layout: page 3title: Daily Journal 📓 4pagination: 5 enabled: true 6--- 7 8<style> 9 a.permalink::after, a.u-url::after { 10 all: unset; 11 } 12 13.wrapper { 14 max-width: 46em; 15 16} 17 18.post-header { 19 display: flex; 20} 21.post-header .meta .date { 22 margin-right: 30px; 23 width: 64px; 24 text-align: center; 25} 26.post-header .meta .date .day { 27 font-family: "Playfair Display", serif; 28 font-weight: 700; 29 line-height: 0.45em; 30 font-size: 3em; 31 display: block; 32 margin-bottom: 20px; 33 color: black; 34} 35.post-header .meta .date .rest { 36 display: block; 37 font-size: 0.75em; 38} 39 40.post-header h1.title { 41 margin: -10px 0 0 0; 42} 43</style> 44 45{% comment %}<!-- https://stackoverflow.com/questions/46672231/in-jekyll-how-to-show-posts-from-last-week -->{% endcomment %} 46 47{% assign sortedjournals = site.journals | reverse %} 48{% for post in sortedjournals %} 49 50<div class="post-header" style="padding-top: 1em;"> 51 <div class="meta"> 52 <div class="date"> 53 <time datetime="{{ post.date | date_to_xmlschema }}" class="day dt-published">{{ post.date | date: "%d"}}</time> 54 <span class="rest">{{ post.date | date: "%b %Y"}}</span> 55 <span class="rest"><a href="{{ post.url }}" class="u-url">{{ post.date | date: "%l:%M%P"}}</a></span> 56 57 </div> 58 </div> 59 <div class="matter"> 60 61 <span class="description e-content"> 62 63 {{ post.content }} 64 65 </span> 66 <hr /> 67 </div> 68</div> 69 70{% endfor %} 71