add coauthor credit feature
This commit is contained in:
parent
745a531432
commit
a44a9cf509
5 changed files with 6 additions and 5 deletions
3
TODO.md
3
TODO.md
|
@ -1,4 +1,5 @@
|
|||
* more fitting syntax highlighting theme
|
||||
* photo gallery thing for grouped together images, looking kinda like message thing in like discord or telegram
|
||||
* add an rss feed next to the atom feed for Reasons that came to me in a dream last night but i forgort
|
||||
* fix template rendering error when multiple posts have same publishing date
|
||||
* fix template rendering error when multiple posts have same publishing date
|
||||
* add some more OG article tags specifically on article, and generally more metadata tags that may ever so slightly help with SEO and whatnot
|
|
@ -16,7 +16,7 @@
|
|||
<meta property="og:image" content="{% if feature_image %}{{ site.url }}{{ feature_image }}{% else %}{{ site.url }}/img/cover.jpg{% endif %}">
|
||||
{% if feature_alt %}<meta property="og:image:alt" content="{{ feature_alt }}">{% endif %}
|
||||
<meta property="og:site_name" content="{{ site.title }}">
|
||||
<meta name="article:author" content="{{ site.name }}">
|
||||
<meta name="article:author" content="{{ site.name }}{% if coauthor %},{{ coauthor.name }}{% endif %}">
|
||||
{% if page.date %}<meta name="article:published_time" content="{{ page.date | date_to_datetime }}">{% endif %}
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:site" content="{{ site.twitter }}">
|
||||
|
|
|
@ -16,7 +16,7 @@ subhead: blog
|
|||
<span class="middot"></span>
|
||||
<span class="readtime">{{ content | timeToRead }} to read</span>
|
||||
<span class="middot"></span>
|
||||
<span>by <span class="author by" id="author">{{ site.name }}</span></span>
|
||||
<span>by <span class="author by" id="author">{{ site.name }}</span>{% if coauthor %} and <a class="author by" id="author" href="{{ coauthor.link }}">{{ coauthor.name }}</a>{% endif %}</span>
|
||||
{% if tags %}
|
||||
<span class="middot"></span>
|
||||
<span>in
|
||||
|
|
|
@ -23,7 +23,7 @@ permalink: /posts/{% if pagination.pageNumber > 0 %}page/{{ pagination.pageNumbe
|
|||
<span class="middot"></span>
|
||||
<span class="readtime">{{ entry.content | timeToRead }} to read</span>
|
||||
<span class="middot"></span>
|
||||
<span>by <span class="author by" id="author">{{ site.name }}</span></span>
|
||||
<span>by <span class="author by" id="author">{{ site.name }}</span>{% if entry.data.coauthor %} and <span class="author by" id="author">{{ entry.data.coauthor.name }}</span>{% endif %}</span>
|
||||
{% if entry.data.tags %}
|
||||
<span class="middot"></span>
|
||||
<span>in
|
||||
|
|
|
@ -28,7 +28,7 @@ date: git Last Modified
|
|||
<small class="updated">(updated <time datetime="{{ entry.data.changed_date | date_to_datetime }}">{{ entry.data.changed_date | date_formatted }}</time>)</small>
|
||||
{% endif %}
|
||||
<span class="middot"></span>
|
||||
<span>by <span class="author by" id="author">{{ site.name }}</span></span>
|
||||
<span>by <span class="author by" id="author">{{ site.name }}</span>{% if entry.data.coauthor %} and <span class="author by" id="author">{{ entry.data.coauthor.name }}</span>{% endif %}</span>
|
||||
{% if entry.data.tags %}
|
||||
<span class="middot"></span>
|
||||
<span>in
|
||||
|
|
Loading…
Reference in a new issue