diff --git a/templates/partials/sidebar-bits/recentposts.html.twig b/templates/partials/sidebar-bits/recentposts.html.twig new file mode 100755 index 0000000..4d88df4 --- /dev/null +++ b/templates/partials/sidebar-bits/recentposts.html.twig @@ -0,0 +1,38 @@ +{# Set the number or recent posts will be displayed in sidebar #} +{% set recent_enabled = theme_var('recent_posts_enabled')|defined(false) %} +{% set recent_number = theme_var('recent_posts_number')|defined(5) %} + +{% if recent_enabled is same as true %} +
+
+

{{ 'FUTURE.SIDEBAR.RECENT_POSTS.HEADLINE'|t }}

+
+ +
+{% endif %}