Delete leftovers from blog template

This commit is contained in:
Gabriel Arazas 2023-07-06 23:33:51 +08:00
parent 0def42d067
commit 9979e144d3
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
3 changed files with 0 additions and 32 deletions

View File

@ -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

View File

@ -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>

View File

@ -1,6 +0,0 @@
<p<%= @id && %( id="#{@id}") %> <% if role %>class="<%= role %>"<% end %>><%
if title? %>
<div class="title"><%= title %></div><%
end %>
<%= content %>
</p>