mirror of
https://github.com/foo-dogsquared/asciidoctor-foodogsquared-extensions.git
synced 2025-01-30 22:57:56 +00:00
Delete leftovers from blog template
This commit is contained in:
parent
0def42d067
commit
9979e144d3
@ -2,7 +2,6 @@
|
||||
|
||||
require 'asciidoctor'
|
||||
require 'asciidoctor/extensions'
|
||||
require 'open-uri/cached'
|
||||
|
||||
require_relative 'helpers'
|
||||
|
||||
@ -23,8 +22,6 @@ require_relative 'flathub-link-inline-macro/extension'
|
||||
require_relative 'repology-link-inline-macro/extension'
|
||||
require_relative 'ietf-rfc-link-inline-macro/extension'
|
||||
|
||||
OpenURI::Cache.cache_path = '/tmp/open-uri-cache-foodogsquared-website'
|
||||
|
||||
Asciidoctor::Extensions.register do
|
||||
inline_macro ManInlineMacro
|
||||
inline_macro IETFRFCLinkInlineMacro
|
||||
|
@ -1,23 +0,0 @@
|
||||
<div<%= @id && %( id="#{@id}") %> class="<%= ['admonitionblock',(attr :name),role].compact * ' ' %>">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="icon"><%
|
||||
if document.attr? :icons, 'font' %>
|
||||
<i class="icon-<%= attr 'name' %>" title="<%= @caption %>"></i><%
|
||||
elsif document.attr? :icons %>
|
||||
<svg class="icon">
|
||||
<use href="<%= icon_uri(attr :name) %>#<%= attr :name %>" alt="<%= @caption %>"></use>
|
||||
</svg><%
|
||||
else %>
|
||||
<div class="title"><%= @caption %></div><%
|
||||
end %>
|
||||
</td>
|
||||
<td class="content"><%
|
||||
if title? %>
|
||||
<div class="title"><%= title %></div><%
|
||||
end %>
|
||||
<%= content %>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
@ -1,6 +0,0 @@
|
||||
<p<%= @id && %( id="#{@id}") %> <% if role %>class="<%= role %>"<% end %>><%
|
||||
if title? %>
|
||||
<div class="title"><%= title %></div><%
|
||||
end %>
|
||||
<%= content %>
|
||||
</p>
|
Loading…
Reference in New Issue
Block a user