aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/document__post.html.erb (renamed from templates/document.html.erb)8
-rw-r--r--templates/posts_list.html.erb8
-rw-r--r--templates/tag.html.erb8
3 files changed, 12 insertions, 12 deletions
diff --git a/templates/document.html.erb b/templates/document__post.html.erb
index 9d93696..bc9a842 100644
--- a/templates/document.html.erb
+++ b/templates/document__post.html.erb
@@ -1,4 +1,4 @@
-<% _main_stylesheet = '/style.css' %>
+<% _stylesheets = attr 'stylesheets' %>
<% _author = attr 'author' %>
<% _description = attr 'description' %>
<% _lang = attr 'lang' %>
@@ -21,9 +21,9 @@
<meta name="keywords" content="<%= _tags.map(&:label).join(',') %>">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title><%= _doctitle %> | <%= _site_name %></title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="<%= _main_stylesheet %>">
- <link rel="stylesheet" href="/custom.css">
+ <% for stylesheet in _stylesheets %>
+ <link rel="stylesheet" href="<%= stylesheet %>">
+ <% end %>
</head>
<body class="single">
<header class="header">
diff --git a/templates/posts_list.html.erb b/templates/posts_list.html.erb
index 2227241..5367258 100644
--- a/templates/posts_list.html.erb
+++ b/templates/posts_list.html.erb
@@ -1,4 +1,4 @@
-<% _main_stylesheet = '/style.css' %>
+<% _stylesheets = stylesheets %>
<% _author = author %>
<% _description = description %>
<% _lang = lang %>
@@ -18,9 +18,9 @@
<meta name="description" content="<%= _description %>">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title><%= _doctitle %> | <%= _site_name %></title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="<%= _main_stylesheet %>">
- <link rel="stylesheet" href="/custom.css">
+ <% for stylesheet in _stylesheets %>
+ <link rel="stylesheet" href="<%= stylesheet %>">
+ <% end %>
</head>
<body class="list">
<header class="header">
diff --git a/templates/tag.html.erb b/templates/tag.html.erb
index 7fd23cd..c92c0ca 100644
--- a/templates/tag.html.erb
+++ b/templates/tag.html.erb
@@ -1,4 +1,4 @@
-<% _main_stylesheet = '/style.css' %>
+<% _stylesheets = stylesheets %>
<% _author = author %>
<% _description = description %>
<% _lang = lang %>
@@ -18,9 +18,9 @@
<meta name="description" content="<%= _description %>">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title><%= _doctitle %> | <%= _site_name %></title>
- <link rel="stylesheet" href="/hl.css">
- <link rel="stylesheet" href="<%= _main_stylesheet %>">
- <link rel="stylesheet" href="/custom.css">
+ <% for stylesheet in _stylesheets %>
+ <link rel="stylesheet" href="<%= stylesheet %>">
+ <% end %>
</head>
<body class="list">
<header class="header">