repository

BlowfishCMS

A small content management system for OpenBSD

version 0.45.6 · ISC · 2026-12-03 · releases

240 lines · 4.3 KB · download this file

{
 "_comment": "A basic site for the tests (tests/sample_content.py): Home, Blog, Photography, Links and Contact. New sites start from content/starter-pages.json; the tests use this, and tests/fixtures/sample-pages-seed.json for a fuller made-up site.",
 "pages": [
  {
   "slug": "home",
   "path": "/",
   "nav_label": "home",
   "title": {
    "value": "Home"
   },
   "description": "",
   "blocks": [
    {
     "type": "text",
     "width": "full",
     "data": {
      "title": {
       "value": "welcome"
      },
      "subtitle": {
       "value": ""
      },
      "heading": {
       "value": "Welcome"
      },
      "style": {
       "value": "intro"
      },
      "feed_link": {
       "value": 0
      },
      "body": {
       "value": "This is your new site. Sign in to the admin at **/admin/** to change this text, add pages and pick a theme.\n\nEvery page is a list of blocks: text, pictures and galleries, music, videos, articles, links, a contact form, and an *About me* block with your portrait if you want one. Set a logo and the site name under **Settings**."
      }
     }
    }
   ],
   "style": {
    "width": "narrow"
   }
  },
  {
   "slug": "blog",
   "path": "/blog/",
   "nav_label": "blog",
   "title": {
    "value": "Blog"
   },
   "description": "Articles and notes.",
   "blocks": [
    {
     "type": "text",
     "width": "full",
     "data": {
      "title": {
       "value": "blog"
      },
      "heading": {
       "value": "Blog"
      },
      "body": {
       "value": "Thoughts and things worth sharing."
      },
      "style": {
       "value": "intro"
      },
      "feed_link": {
       "value": "1"
      }
     }
    },
    {
     "type": "posts",
     "width": "full",
     "data": {
      "title": {
       "value": "articles"
      },
      "subtitle": {
       "value": ""
      },
      "limit": {
       "value": "0"
      }
     }
    }
   ]
  },
  {
   "slug": "photography",
   "path": "/photography/",
   "nav_label": "photography",
   "title": {
    "value": "Photography"
   },
   "description": "Photographs.",
   "blocks": [
    {
     "type": "text",
     "width": "full",
     "data": {
      "title": {
       "value": "photography"
      },
      "heading": {
       "value": "Photography"
      },
      "body": {
       "value": "A collection of photographs."
      },
      "style": {
       "value": "intro"
      }
     }
    },
    {
     "type": "gallery",
     "width": "full",
     "data": {
      "title": {
       "value": "photography"
      },
      "subtitle": {
       "value": ""
      },
      "source": {
       "value": "folder"
      },
      "folder": {
       "value": ""
      },
      "subfolders": {
       "value": 1
      },
      "captions": {
       "value": 1
      }
     }
    }
   ]
  },
  {
   "slug": "links",
   "path": "/links/",
   "nav_label": "links",
   "title": {
    "value": "Links"
   },
   "description": "Elsewhere on the web.",
   "blocks": [
    {
     "type": "text",
     "width": "full",
     "data": {
      "title": {
       "value": "links"
      },
      "heading": {
       "value": "Links"
      },
      "body": {
       "value": "Where else to find me."
      },
      "style": {
       "value": "intro"
      }
     }
    },
    {
     "type": "links_list",
     "width": "full",
     "data": {
      "title": {
       "value": "links"
      },
      "subtitle": {
       "value": ""
      }
     }
    }
   ]
  },
  {
   "slug": "contact",
   "path": "/contact/",
   "nav_label": "contact",
   "title": {
    "value": "Contact"
   },
   "description": "Get in touch.",
   "blocks": [
    {
     "type": "contact_form",
     "width": "left",
     "data": {
      "title": {
       "value": "get in touch"
      },
      "subtitle": {
       "value": "send a message"
      },
      "label_name": {
       "value": "Name"
      },
      "label_email": {
       "value": "Email"
      },
      "label_subject": {
       "value": "Subject"
      },
      "label_message": {
       "value": "Message"
      },
      "note": {
       "value": ""
      },
      "button": {
       "value": "send message"
      }
     }
    },
    {
     "type": "text",
     "width": "right",
     "data": {
      "title": {
       "value": "notes"
      },
      "subtitle": {
       "value": ""
      },
      "body": {
       "value": "I try to reply within a few days."
      }
     }
    }
   ]
  }
 ]
}