Paste server written in Haskell. Fork of Hpaste, fully freedom and privacy respecting and generally improved. At the time of writing there's an instance at <http://paste.rel4tion.org>.

[[ 🗃 ^aoqmo toothpaste ]] :: [📥 Inbox] [📤 Outbox] [🐤 Followers] [🤝 Collaborators] [🛠 Commits]

Clone

HTTPS: git clone https://vervis.peers.community/repos/aoqmo

SSH: git clone USERNAME@vervis.peers.community:aoqmo

Branches

Tags

hpaste :: src / Hpaste / Types /

Page.hs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{-# OPTIONS -Wall #-}
{-# LANGUAGE OverloadedStrings #-}

-- | The page type.

module Hpaste.Types.Page
       (Page(..))
       where

import Data.Text  (Text)
import Text.Blaze (Markup)

-- | A page to be rendered in a layout.
data Page = Page {
    pageTitle :: Text
  , pageBody :: Markup
  , pageName :: Text
  }
[See repo JSON]