Compare commits

..

No commits in common. "11e25fc594350d294bd43a938ba64674dd667949" and "ba9d5ac834b210096f698cce297a59527fe7532d" have entirely different histories.

6 changed files with 6 additions and 26 deletions

View file

@ -1,12 +0,0 @@
all: build
build:
mix tableau.build
clean:
rm -fr _build/ _site/
publish:
ssh criminallycute.fi "rm -r /var/www/criminallycute.fi/public"
scp -Cr _site criminallycute.fi:/var/www/criminallycute.fi/public

View file

@ -2,11 +2,4 @@
Sources for [criminallycute.fi][]
Basic steps to build the site and publish:
* Clone repo
* `mix deps.get`
* Publish with `make && make publish`
[criminallycute.fi]:https://criminallycute.fi

View file

@ -3,7 +3,7 @@ layout: Website.PostLayout
title: Test Post
date: 2024-11-08
categories: post
permalink: /blog/test-post
permalink: test-post
---
TEST POST PLEASE IGNORE

View file

@ -31,7 +31,6 @@ defmodule Website.RootLayout do
</nav>
<div>
<h1><%= @page[:title] %></h1>
<h2>This is a test site, please pardon the clutter.</h2>
</div>
</header>

View file

@ -11,7 +11,7 @@ defmodule Website.BlogPage do
<section>
<article :for={post <- @posts} class="mt-8">
Blog description goes here
<a href={post.permalink}>
<a class="underline text-base flex items-center justify-between" href={"blog/" <> post.permalink}>
<h3>
<time><%= post.date |> Calendar.strftime("%d.%b.%Y") %></time>
<%= post.title %>

View file

@ -8,12 +8,12 @@ defmodule Website.ProjectsPage do
def template(assigns) do
~H"""
<div>
<div>
<div class="space-y-20">
<div class="flex flex-col space-y-20">
<%= for type <- @data["projects"] do %>
<div :for={{status, projects} <- type}>
<h2><%= status %></h2>
<div>
<h2 class="text-base"><%= status %></h2>
<div class="space-y-4">
<div :for={project <- projects}>
<%= if project["link"] do %>
<a href={project["link"]}><%= project["name"] %></a>