My personal website, in gleam+lustre!
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add rss feed button


Signed-off-by: MLC Bloeiman <mar@strawmelonjuice.com>

+57 -1
+57 -1
src/homepage.gleam
··· 2027 2027 case filtered { 2028 2028 AllPosts -> { 2029 2029 [ 2030 - title("All posts"), 2030 + html.h2([attribute.class("text-3xl text-accent-content font-light")], [ 2031 + html.text("All posts "), 2032 + 2033 + html.a( 2034 + [ 2035 + attribute.href("/feed.xml"), 2036 + attribute.target("_blank"), 2037 + attribute.class( 2038 + "inline-block btn btn-circle btn-accent text-accent-content", 2039 + ), 2040 + ], 2041 + [ 2042 + svg.svg( 2043 + [ 2044 + attribute("xmlns", "http://www.w3.org/2000/svg"), 2045 + attribute("viewBox", "0 0 10 10"), 2046 + attribute("version", "1.1"), 2047 + attribute.class("size-[1.2em] p-0 m-1"), 2048 + ], 2049 + [ 2050 + svg.g( 2051 + [ 2052 + attribute("fill-rule", "evenodd"), 2053 + attribute("fill", "none"), 2054 + ], 2055 + [ 2056 + svg.g( 2057 + [ 2058 + attribute("fill", "currentColor"), 2059 + attribute("transform", "translate(-65 -3644)"), 2060 + attribute.id("a"), 2061 + ], 2062 + [ 2063 + svg.g( 2064 + [ 2065 + attribute("transform", "translate(56 160)"), 2066 + attribute.id("b"), 2067 + ], 2068 + [ 2069 + svg.path([ 2070 + attribute( 2071 + "d", 2072 + "m9.01 3492v1c0 .553.45 1 1 1h1c0-1.11-.899-2-2.01-2m-.0141-4.01v2c2.22 0 4.02 2.05 4.02 4.05h2.01c0-3.01-2.7-6.06-6.03-6.06m9.99 4.91c.0663.598-.402 1.15-1 1.15h-.942c0-4.01-4.03-8.06-8.05-8.06v-.94c0-.601.536-1.06 1.13-.991 4.65.518 8.34 4.21 8.86 8.85", 2073 + ), 2074 + attribute.id("c"), 2075 + ]), 2076 + ], 2077 + ), 2078 + ], 2079 + ), 2080 + ], 2081 + ), 2082 + ], 2083 + ), 2084 + ], 2085 + ), 2086 + ]), 2031 2087 html.p([attribute.class("mt-6")], [ 2032 2088 element.text("Filter: "), 2033 2089 html.a([href(Tagged(".blog-personal"))], [