Mercurial Hosting > luan
comparison website/src/lib/Shared.luan @ 1747:2fbca5c84422
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 28 Dec 2022 19:37:48 -0700 |
parents | 418b610e887b |
children | 7d2297155ee3 |
comparison
equal
deleted
inserted
replaced
1746:74f33278344f | 1747:2fbca5c84422 |
---|---|
16 end | 16 end |
17 | 17 |
18 local function header(crumbs) | 18 local function header(crumbs) |
19 %> | 19 %> |
20 <div header> | 20 <div header> |
21 <a href="/">Luan</a> | 21 <span breadcrumbs> |
22 <a href="/">Luan</a> | |
22 <% for _, crumb in ipairs(crumbs or {}) do %> | 23 <% for _, crumb in ipairs(crumbs or {}) do %> |
23 / <%=crumb%> | 24 / <%=crumb%> |
24 <% end %> | 25 <% end %> |
26 </span> | |
27 <span>by <a href="https://www.linkmystyle.com/fschmidt">fschmidt</a></span> | |
25 </div> | 28 </div> |
26 <% | 29 <% |
27 end | 30 end |
28 Shared.header = header | 31 Shared.header = header |
29 | 32 |