fdoc

typepage_t

A static page.

Components

NameTypeAttributesDefaultDescription
authorcharacter(len=:)allocatable

its author, if any

copiestype(string_t)allocatabledimension(:)

files and directories to copy next to it

datecharacter(len=:)allocatable

its date, if any

depthinteger0

how many directories below page/ it is

htmlcharacter(len=:)allocatable

its text as HTML

parentinteger0

the page above it

pathcharacter(len=:)allocatable

its file, relative to page/

titlecharacter(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

Graphs

Inherited by