aboutsummaryrefslogtreecommitdiff
path: root/index.rhtml
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2024-04-26 12:10:13 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2024-04-26 12:10:13 +0200
commit5f658f28525d855b983d0aa1c4cfcb5721b3cbbf (patch)
tree5d7c8218e57bd6edca56b824bd11411d931bc5fd /index.rhtml
parentc9d49bba90e59b55e9470b897215e182627e4b77 (diff)
downloadwebsite-5f658f28525d855b983d0aa1c4cfcb5721b3cbbf.tar.gz
website-5f658f28525d855b983d0aa1c4cfcb5721b3cbbf.zip
Migration to hyde 0.0.3
Diffstat (limited to 'index.rhtml')
-rw-r--r--index.rhtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.rhtml b/index.rhtml
index 0ad6a1b..2236d46 100644
--- a/index.rhtml
+++ b/index.rhtml
@@ -36,7 +36,7 @@
<div class="container hyphens">
<div class="row">
- <% listarticles("articles/**/*", 6).each { |p| %>
+ <% Hyde.listarticles("articles/**/*", 6).each { |p| %>
<div class="col-lg-4 col-sm-12" style="margin-bottom: 20pt">
<div class="card <%= p.classes %> h-100">
<!-- <div class="card-header">Featured</div> -->
@@ -46,7 +46,7 @@
<p class="card-text"><%= p.description %></p>
</div>
<div class="card-footer">
- <a href="<%= p.pageFileName %>"
+ <a href="<%= p.url %>"
class="btn btn-primary">Dettagli &raquo;</a>
</div>
</div>