Mecha CMS

Add extra functionality to the core engine.

Pass

Table of Contents
  1. Usage 

Restrict page access using secret pass code.

Download Stable Version Download Development Version

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

^180 Downloads
v2.4.1127 Downloads
v2.4.0125 Downloads
v2.3.2167 Downloads
v2.0.097 Downloads
v1.0.0368 Downloads

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.