blob: d33e13d852302851f37b532af037dc1e0fa7a1d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
module external_handling
implicit none
contains
subroutine external_request_gemini(request)
use page_template
implicit none
character(*), intent(in)::request
character(1024)::template_file
type(template)::page
! Open the base template
call template_filepath("index.gmi", template_file)
call page%init(template_file)
if(trim(request) == "/" .or. trim(request) == "/index.gmi") then
else if(trim(request) == "/releases.gmi") then
else if(trim(request) == "/jobs.gmi") then
else if(trim(request) == "/players.gmi") then
else if(trim(request) == "/about.gmi") then
end if
end subroutine external_request_gemini
end module external_handling
|