adding configs
5 files changed, 6 insertions(+), 3 deletions(-)

M README.md
M config.sample.php
M includes/index.php
M manual.php
M register.php
M README.md +0 -1
@@ 13,4 13,3 @@ 1. clone this repository to get the sour
 2. rename `config-sample.php` to `config.php`. Update the constants to match your
    environment
 3. transfer files to your server
-4. 
  No newline at end of file

          
M config.sample.php +2 -0
@@ 15,3 15,5 @@ define('FROM_EMAIL', 'foo@bar.com');
 # other
 define('URL', 'https://localhost/lipuli');
 define('KEY', 'insert key here');
+define('KEY_BUY_URL', 'https://example.com');
+define('KEY_REQUEST_FORM_URL', 'https://example.com');

          
M includes/index.php +2 -1
@@ 12,7 12,8 @@ 
 
     <p>
         <a href="manual.php" class="link">Manual</a><br>
-        <a href="activity.php" class="link">Explore</a>
+        <a href="activity.php" class="link">Explore</a><br>
+        <a href="https://hg.sr.ht/~m15o/lipu.li" class="link">Source</a>
     </p>
 </main>
 

          
M manual.php +1 -0
@@ 1,3 1,4 @@ 
+<?php include 'includes/app.php'; ?>
 <?php include 'includes/header.php'; ?>
 
 <h1>Manual</h1>

          
M register.php +1 -1
@@ 61,7 61,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST
         <label for="repeat">Repeat:</label>
         <input type="password" id="repeat" name="repeat" class="form-control" required/>
 
-        <p><a target="_blank" href="https://m15o.gumroad.com/l/lipuli">Buy a key</a> for instant access or email me at m15o at posteo dot net.</p>
+        <p><a target="_blank" href="<?= KEY_BUY_URL ?>">Buy a key</a> for instant access or <a href="<?= KEY_REQUEST_FORM_URL ?>">request a free key</a>.</p>
 
         <label for="name">Key:</label>
         <input type="text" id="key" name="key" autocomplete="off" value="<?= $form['key'] ?>" class="form-control"