Delete shortcodes/button.tmpl~
parent
321e509922
commit
aca411280f
|
@ -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>
|
|
Loading…
Reference in New Issue