implementation of plink (ability to link sub-pages into templates) and other minor additions

Signed-off-by: Ulpian Morina <ulpianmorina@gmail.com>