feat: bye analytics
This commit is contained in:
parent
94d58d0f0c
commit
2bf2fba325
20 changed files with 14 additions and 185 deletions
|
@ -1,8 +0,0 @@
|
|||
<div class="addon-links">
|
||||
{%- if popularPosts.size > 0 -%}
|
||||
<div>{% render "partials/blocks/popular-posts.liquid", popularPosts:popularPosts %}</div>
|
||||
{%- endif -%}
|
||||
{%- if links.size > 0 -%}
|
||||
<div>{% render "partials/blocks/recent-links.liquid", links:links %}</div>
|
||||
{%- endif -%}
|
||||
</div>
|
|
@ -13,7 +13,5 @@
|
|||
{{ block.text | markdown }}
|
||||
{%- elsif block.type == 'divider' -%}
|
||||
{{ block.markup | markdown }}
|
||||
{%- elsif block.type == 'addon_links' -%}
|
||||
{% render "partials/blocks/addon-links.liquid", popularPosts:collections.popularPosts, links:links %}
|
||||
{%- endif -%}
|
||||
{%- endfor -%}
|
|
@ -1,15 +0,0 @@
|
|||
{%- if popularPosts.size > 0 -%}
|
||||
<h3 class="flex-centered">
|
||||
{% tablericon "flame" "Popular" %}
|
||||
Popular posts
|
||||
</h3>
|
||||
<ul class="link-list">
|
||||
{%- for post in popularPosts limit: 5 -%}
|
||||
<li>
|
||||
<a class="no-underline" href="{{ post.slug }}" title="{{ post.title | escape}}">
|
||||
{{ post.title }}
|
||||
</a>
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
</ul>
|
||||
{%- endif -%}
|
|
@ -1,16 +0,0 @@
|
|||
{%- if links.size > 0 -%}
|
||||
<h3 id="links" class="flex-centered">
|
||||
{% tablericon "link" "Links" %}
|
||||
Recent links
|
||||
</h3>
|
||||
<ul class="link-list">
|
||||
{%- for link in links limit: 5 -%}
|
||||
<li>
|
||||
<a href="{{ link.link }}" title="{{ link.title | escape }}">
|
||||
{{ link.title }}
|
||||
</a>
|
||||
{% if link.authors %} via <a href="{{ link.authors.url }}">{{ link.authors.name }}</a>{% endif %}
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
</ul>
|
||||
{%- endif -%}
|
Reference in a new issue