Skip to content
Snippets Groups Projects
Commit 88765d6c authored by Augustin Lemesle's avatar Augustin Lemesle Committed by Allan Blanchard
Browse files

hover black when content is empty

parent 6b4327b6
No related branches found
No related tags found
1 merge request!11publis
......@@ -11,13 +11,16 @@
{% if pub.plugin == include.plugin %}
<details>
<summary>
{% assign content = pub.content | strip_newlines %}
<summary {% if content == "" %} class="empty" {% endif %}>
{% if pub.authors %}<div>{{ pub.authors }}</div>{% endif %}
<div><b>{{ pub.title }}</b>{% if pub.link %} [<a href="{{ pub.link }}">PDF</a>] {% endif %}</div>
{% if pub.book %} <div>In {{ pub.book }}, {{ pub.year }}</div> {% endif %}
{% if pub.short %}<div><em>{{ pub.short }}</em></div>{% endif %}
</summary>
{% if content != "" %}
<em>{{ pub }}</em>
{% endif %}
</details>
{% endif %}
......
......@@ -32,4 +32,8 @@ details[open] {
}
summary {
margin: 1em 2em;
}
.empty:hover {
color: black !important;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment