Delete shortcodes/button.tmpl~

src
pgarcia 2025-08-13 13:48:16 +02:00
parent 321e509922
commit aca411280f
1 changed files with 0 additions and 31 deletions

View File

@ -1,31 +0,0 @@
<%doc>
Return communication item
Template engine: Mako
Usage:
{{% comm [type=<type>] [date=<date>] [media=<media>] [link=<link>] <text> %}}
where <type> is one of press, video, audio, socal, photo, image or other
Example:
</%doc>
% if type == 'press':
<% t = 'fa-file-alt' %>
% elif type == 'video':
<% t = 'fa-video' %>
% elif type == 'audio':
<% t = 'fa-microphone' %>
% elif type == 'social':
<% t = 'fa-comment-alt' %>
% elif type == 'photo':
<% t = 'fa-camera' %>
% elif type == 'image':
<% t = 'fa-file-image' %>
% else:
<% t = 'fa-bullhorn' %>
% endif
<i class="fas ${t} mr-2"></i> <i>${date}</i>, <strong>${media}</strong>: <a href="${link}">${_args[0]}</a>