{% macro big_button_widget(txt,link,link_txt) %}

{{txt}}

Subscribe to my feed
{% endmacro %} {% macro tag_widget(tags=false) %}

Tags

{% endmacro %} {% macro category_widget(categorys=false) %}

Categories

{% if categorys == false %} {% set categorys = get_model('category','page').query.all() %} {% endif %} {% for cat in categorys %} {{cat.name}}{% if cat.use_icon %}  {% endif %} {% endfor %}
{% endmacro %} {% macro comment_widget(comments=false) %}

Recent Comments

{% if comments == false %} {% set comments = get_model('comment','blog').query.all() %} {% endif %} {% for comment in comments %} {{comment.content}} {% endfor %}
{% endmacro %} {% macro post_widget(posts=false) %}

Latest Posts

{% if posts == false %} {% set posts = get_model('article','blog').query.all() %} {% endif %} {% for post in posts %} {{loop.index}}. {{post.title}} {% endfor %}
{% endmacro %}