diff options
author | dvs1 | 2024-12-22 01:56:00 +1000 |
---|---|---|
committer | dvs1 | 2024-12-22 01:56:00 +1000 |
commit | 118bd71a3456e38c2c183e074c4700872eb1795d (patch) | |
tree | e41d2e89d52431a30ab5d0089b915ced01b7d182 | |
parent | Update a test doc. (diff) | |
download | notYetAnotherWiki-118bd71a3456e38c2c183e074c4700872eb1795d.zip notYetAnotherWiki-118bd71a3456e38c2c183e074c4700872eb1795d.tar.gz notYetAnotherWiki-118bd71a3456e38c2c183e074c4700872eb1795d.tar.bz2 notYetAnotherWiki-118bd71a3456e38c2c183e074c4700872eb1795d.tar.xz |
Move the version number into the code.
Diffstat (limited to '')
-rw-r--r-- | default.template | 2 | ||||
-rwxr-xr-x | notYetAnotherWiki.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/default.template b/default.template index f8a435f..4c1ac12 100644 --- a/default.template +++ b/default.template | |||
@@ -57,7 +57,7 @@ | |||
57 | </tr> | 57 | </tr> |
58 | <tr> | 58 | <tr> |
59 | <td style="background-color: rebeccapurple"> | 59 | <td style="background-color: rebeccapurple"> |
60 | <p>Page <a href="$history$">history</a>. Web site <a href="$feedatom$">atom feed</a> and <a href="$sourcecode$">source code</a> Powered by <a href="https://sledjhamr.org/cgit/notYetAnotherWiki/about/">notYetAnotherWiki</a> Version -0.1.</p> | 60 | <p>Page <a href="$history$">history</a>. Web site <a href="$feedatom$">atom feed</a> and <a href="$sourcecode$">source code</a> Powered by <a href="https://sledjhamr.org/cgit/notYetAnotherWiki/about/">notYetAnotherWiki</a> Version $version$.</p> |
61 | </td> | 61 | </td> |
62 | </tr> | 62 | </tr> |
63 | <tr> | 63 | <tr> |
diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua index 9d6f3f7..0a616c7 100755 --- a/notYetAnotherWiki.lua +++ b/notYetAnotherWiki.lua | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | local lcmark = require("lcmark") | 3 | local lcmark = require("lcmark") |
4 | 4 | ||
5 | local globalData = {header = '', footer = '', menu = '', ['_'] = ' ', ['dlr'] = '$'} | 5 | local globalData = {version = '-0.1', header = '', footer = '', menu = '', ['_'] = ' ', ['dlr'] = '$'} |
6 | local site = {} | 6 | local site = {} |
7 | local dirs = {} | 7 | local dirs = {} |
8 | local createHTML = function(cm, file) | 8 | local createHTML = function(cm, file) |