master
Steve Ayerhart 2022-01-23 13:00:58 -05:00
parent 18455eae10
commit 56849e75f4
No known key found for this signature in database
GPG Key ID: 5C815FDF3A00B8BA
4 changed files with 15 additions and 5 deletions

View File

@ -5,7 +5,7 @@ USING: kernel http.server http.server.responses http.server.dispatchers furnace.
USING: bonerbonerboner.services bonerbonerboner.services.slack bonerbonerboner.services.mississippis bonerbonerboner.services.platzisms bonerbonerboner.services.link-logger ;
USING: prettyprint ;
IN: bonerbonerboner
IN: bonerbonerboner.api
TUPLE: bbb < dispatcher ;
@ -24,11 +24,9 @@ TUPLE: bbb < dispatcher ;
<page-action>
[
validate-theme
] >>init
[ validate-theme ] >>init
{ bbb "templates/themes" } >>template ;
{ bbb "themes" } >>template ;
: <heartbeat-action> ( -- action )
<action> [ "bonerbonerboner" <text-content> ] >>display ;

View File

@ -0,0 +1 @@
vocab:bonerbonerboner/templates

View File

@ -0,0 +1,11 @@
<?xml version='1.0' ?>
<t:chloe xmlns:t="http://factorcode.org/chloe/1.0" >
<html class="@theme" lang="en" >
<head>
<title>boners</title>
<meta name="viewport" content="width=device-width, initial-sale=1"/>
<link rel="stylesheet" type="text/css" href="https://static.bonerbonerboner.com/css/bbb.css" />
</head>
<body/>
</html>
</t:chloe>