* Add album item view * Add album styles * Simplify album field selection * Fetch album in item controller * Use correct permalink
67 lines
1.8 KiB
Text
67 lines
1.8 KiB
Text
<main class="landing">
|
|
<img src={~p"/images/aey.svg"} width="300" alt="Anders Englöf Ytterström" />
|
|
<form metod="get" action="/search">
|
|
<label for="q">Sök innehåll</label>: <input size="9" type="search" id="q" name="q" />
|
|
<button>Sök</button>
|
|
</form>
|
|
<div class="tree">
|
|
<div>
|
|
Senast skrivet (<date><%= @recent_article["pubDate"] %></date>):<br />
|
|
<a href={"/" <> @recent_article["slug"]}>
|
|
<%= @recent_article["title"] %>
|
|
</a>
|
|
</div>
|
|
<div>
|
|
Dessförinnan (<date><%= @older_article["pubDate"] %></date>):<br />
|
|
<a href={"/" <> @older_article["slug"]}>
|
|
<%= @older_article["title"] %>
|
|
</a>
|
|
</div>
|
|
<div>
|
|
<a href="/webblogg">Webbloggen</a>
|
|
</div>
|
|
<%= for event <- @upcoming do %>
|
|
<div>
|
|
Kommande: <a href={event["slug"]}><%= event["title"] %><br /><%= event["lead"] %></a>
|
|
</div>
|
|
<% end %>
|
|
<%= for event <- @recent_event do %>
|
|
<div>
|
|
Upplevt: <a href={event["slug"]}><%= event["title"] %><br /><%= event["lead"] %></a>
|
|
</div>
|
|
<% end %>
|
|
<div>
|
|
<a href="/evenemang">Evenemangstidslinje</a>
|
|
</div>
|
|
<div>
|
|
Värt att uppmärksamma:
|
|
<a href="/delningar">
|
|
Delningar
|
|
</a>
|
|
</div>
|
|
<%= for legend <- @brutal_legends do %>
|
|
<div>
|
|
Införskaffat (<%= legend["purchased_at"] %>):<br />
|
|
<a href={"/" <> legend["purchase_year"] <> "/brutal-legend-" <> legend["externalId"]}>
|
|
<%= legend["artist"] %> - <%= legend["album"] %> (<%= legend["year"] %>)
|
|
</a>
|
|
</div>
|
|
<% end %>
|
|
<div>
|
|
<a href="/vad-jag-gor">
|
|
Vad jag gör
|
|
</a>
|
|
</div>
|
|
<div>
|
|
Mer om:
|
|
<a href="/om">
|
|
Anders, 39, Hårdrockare
|
|
</a>
|
|
</div>
|
|
<div>
|
|
<a href="/colophon">
|
|
Kontakt & Kolofon
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</main>
|