diff --git a/i2p2www/pages/global/layout.html b/i2p2www/pages/global/layout.html index afda10c393de0797b788780a6cde0d500059cdaa..0a22a13594abd98aef0b0c83934be8d195330b80 100644 --- a/i2p2www/pages/global/layout.html +++ b/i2p2www/pages/global/layout.html @@ -83,5 +83,9 @@ {% include "global/footer.html" %} </footer> </div> + +<!-- +{% include "include/mtnversion" ignore missing %} +--> </body> </html> diff --git a/site-updater.sh b/site-updater.sh index 901ad89644c5535a529db7a4e1ed91ced654e6f7..29d6d11cd0e6c49f1fc3c78bcf4d07a9eb555c3a 100755 --- a/site-updater.sh +++ b/site-updater.sh @@ -17,6 +17,8 @@ if grep "^mtn: \(add\|patch\|dropp\|updat\)\(ed\|ing\) 'i2p2www/translations/" " ./compile-messages.sh fi +echo "Monotone revision: $(mtn log --no-files --no-graph --to h: | grep Revision | sed 's/Revision: //')" >./i2p2www/pages/include/mtnversion + if grep "^mtn: updating 'i2p2www/.*\.py\|^mtn: updating 'i2p2www/.*/.*\.py" "$TMP" >/dev/null ; then echo "Python files changed, restarting server" touch $TOUCHFILE