The bmannconsulting.com website
1--- 2layout: default 3--- 4 5<article> 6 <div> 7 <h1 style="text-transform:capitalize;">{{ page.title }}</h1> 8 {% if page.link %} 9 <strong><a href="{{ page.link }}">{{ page.link | remove: "https://" | truncate: 42 }}</a></strong>{% if page.author %}, by {{ page.author }}{% endif %}{% if page.published %}, {{ page.published | date: "%B %-d, %Y" }}{% endif %}<br /> 10 {% elsif page.wikipedia %} 11 <strong>wikipedia:</strong>&nbsp;<a href="{{ page.wikipedia }}">{{ page.wikipedia | remove: "https://" | truncate: 42 }}</a><br /> 12 {% endif %} 13 14 {% unless page.published %} 15 <time datetime="{{ page.last_modified_at | date_to_xmlschema }}"> 16 Last updated on {{ page.last_modified_at | date: "%B %-d, %Y" }} 17 </time> 18 {% endunless %} 19 20 <ul> 21 {% if page.github %} 22 <li><strong>github:</strong>&nbsp;<a href="{{ page.github }}">@{{ page.github | remove: "https://github.com/" }}</a></li> 23 {% endif %} 24 </ul> 25 </div> 26 27 <div id="notes-entry-container"> 28 <content> 29 {{ content }} 30 </content> 31 32 <side style="font-size: 0.9em"> 33 <h3 style="margin-bottom: 1em">Notes mentioning this note</h3> 34 {% if page.backlinks.size > 0 %} 35 <div style="display: grid; grid-gap: 1em; grid-template-columns: repeat(1fr);"> 36 {% for backlink in page.backlinks %} 37 <div class="backlink-box"> 38 <a class="internal-link" href="{{ site.baseurl }}{{ backlink.url }}{%- if site.use_html_extension -%}.html{%- endif -%}">{{ backlink.title }}</a><br> 39 <div style="font-size: 0.9em">{{ backlink.excerpt | strip_html | truncatewords: 20 }}</div> 40 </div> 41 {% endfor %} 42 {% if page.seed %} 43 <div class="backlink-box" style="background-color: #fff;"> 44 Original article <a href="{{ page.link }}">{{ page.title }}</a>, by {{ page.author }}. <a href="{{ page.noteslink }}" class="noteslink" target="_notes">{{ page.title }}</a> 45 </div> 46 {% endif %} 47 </div> 48 {% else %} 49 50 <div style="display: grid; grid-gap: 1em; grid-template-columns: repeat(1fr);"> 51 <div class="backlink-box" style="background-color: #fff;"> 52 View related content on notes.bmannconsulting.com/<a href="{{ site.tags_url }}/{{ page.title }}" target="_notes">{{ page.title }}</a> 53 </div> 54 <div class="backlink-box" style="background-color: #fff;"> 55 Browse the <a href="{{ site.baseurl }}/notes/" class="internal-link">Local Notes Graph »</a> 56 </div> 57 </div> 58 {% endif %} 59 </side> 60 </div> 61</article>