Provides an experience similar to popular blogging platforms. Make it easier for the visitor to click through and more obvious that it's just a excerpt of the page. Close #1751
@@ -25,6 +25,13 @@
border: 1px solid rgb(68, 71, 90);
}
+/* In page listings, display the linked summaries as normal text except for the hover cursor. */
+.media.stream-item .article-style a,
+.card-simple .article-style a {
+ color: unset;
+ text-decoration: none;
+}
+
.card {
margin-bottom: 1.5rem;
overflow: hidden;
@@ -55,7 +55,9 @@
{{ with $summary }}
<div class="article-style">
- <p>{{.}}</p>
+ <a href="{{ $item.RelPermalink }}">
+ <p>{{.}}</p>
+ </a>
</div>
{{ end }}
@@ -38,9 +38,11 @@
</h3>
- <div class="article-style">
- {{ . }}
- </div>
+ <div class="article-style">
+ {{ . }}
+ </div>
<div class="stream-meta article-metadata">