Mecha CMS

Add extra functionality to the core engine.

Pass

Table of Contents
  1. Usage 

Restrict page access using secret pass code.

Download Version 2.3.2 Download Development Version

Something looks broken? We accept bounties to fix them faster.

Usage 

Create a page then add a pass property with pass code as the value:

---
title: My Secret Diary
description: This is a long story about my life.
type: Markdown
pass: b4d455
...

Page content goes here.

Set custom question by putting it in the q property of the pass property, then put the answer in the a property:

---
title: My Secret Diary
description: This is a long story about my life.
type: Markdown
pass:
  q: What’s my sister’s name?  # question
  a: alice  # answer
  h: One word.  # hint
...

Page content goes here.