Changeset 16 in code


Ignore:
Timestamp:
Aug 29, 2015, 1:17:13 PM (10 years ago)
Author:
zaitsev.serge
Message:

added rendering support for html and xml

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zs.go

    r15 r16  
    205205                                        log.Println("mkd: ", path)
    206206                                        return buildMarkdown(path)
     207                                } else if ext == ".html" || ext == ".xml" {
     208                                        return buildPlain(path, map[string]string{})
    207209                                } else {
    208210                                        log.Println("raw: ", path)
Note: See TracChangeset for help on using the changeset viewer.