Skip to content

Latest commit

 

History

History
65 lines (61 loc) · 1.99 KB

publications.md

File metadata and controls

65 lines (61 loc) · 1.99 KB
title layout description permalink intro_image intro_image_absolute intro_image_hide_on_mobile
Publications
publications
Publications
/publications
images/illustrations/robot-journal.png
true
false
    <script> var url_tag = new URLSearchParams(window.location.search).get("t"); var div = document.getElementById("filter_by"); var ul = document.getElementById("pub_list"); if (url_tag != null) { div.innerText = "Publications with the " + url_tag + " tag"; } else { div.style.display = "none"; } {% assign publications = site.publications| sort: 'date' | reverse %} {% for post in publications %} var has_tag = false; {% for tag in post.tags %} if (url_tag == null || "{{ tag }}" == url_tag) { has_tag = true; // There should be a {\% break \%} here, but it... breaks js } {% endfor %} if (has_tag) { var li = document.createElement("li"); li.innerHTML = `
    {{ post.title }}, {{ post.authors }}, {{ post.extras}}

    {{ post.content}}

    {% for tag in post.tags %} ♯ {{ tag }} {% endfor %} {% if post.external_url != nil %}
    External Link {% endif %}
    `; ul.appendChild(li); } {% endfor %} </script>