aboutsummaryrefslogtreecommitdiff
path: root/captain/web.f90
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeff@approximatrix.com>2021-05-20 11:14:31 -0400
committerJeffrey Armstrong <jeff@approximatrix.com>2021-05-20 11:14:31 -0400
commita13d6f007be2b43704b6237cacf668452172e591 (patch)
treef0d59928a8bb6ad38dae2dce23b7e9baa82b65a1 /captain/web.f90
parent09e05b225bbea43d77ee1edfb896e5cdef43c145 (diff)
downloadlevitating-a13d6f007be2b43704b6237cacf668452172e591.tar.gz
levitating-a13d6f007be2b43704b6237cacf668452172e591.zip
Added a build date function. Implemented about and home templates for gemini interface.
Diffstat (limited to 'captain/web.f90')
-rw-r--r--captain/web.f902
1 files changed, 2 insertions, 0 deletions
diff --git a/captain/web.f90 b/captain/web.f90
index cc3a552..cd94783 100644
--- a/captain/web.f90
+++ b/captain/web.f90
@@ -564,6 +564,7 @@ contains
use http, only: HTTP_CODE_SUCCESS, HTTP_CODE_NOTFOUND
use request_utils, only: get_job_page_title, handle_instruction_command
use captain_db, only: scan_instructions_for_db
+ use utilities, only: build_date
implicit none
type(request), intent(in)::req
@@ -631,6 +632,7 @@ contains
else if(trim(req%location) == "/about.html") then
call page%assign('title', 'About')
+ call page%assign('build_date', build_date())
else if(trim(req%location) == "/instructions.html") then