typepage_t
A static page.
Components
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
| author | character(len=:) | allocatable | its author, if any | |
| copies | type(string_t) | allocatabledimension(:) | files and directories to copy next to it | |
| date | character(len=:) | allocatable | its date, if any | |
| depth | integer | 0 | how many directories below | |
| html | character(len=:) | allocatable | its text as HTML | |
| parent | integer | 0 | the page above it | |
| path | character(len=:) | allocatable | its file, relative to | |
| title | character(len=:) | allocatable | its title |
Source
Show the code
type :: page_t
!! A static page.
character(len=:), allocatable :: title !! its title
character(len=:), allocatable :: path !! its file, relative to `page/`
character(len=:), allocatable :: html !! its text as HTML
character(len=:), allocatable :: author !! its author, if any
character(len=:), allocatable :: date !! its date, if any
integer :: parent = 0 !! the page above it
integer :: depth = 0 !! how many directories below `page/` it is
type(string_t), allocatable :: copies(:) !! files and directories to copy next to it
end type page_t