Update README.md
This commit is contained in:
@@ -35,7 +35,7 @@ _the `public` directory is ready to be published._
|
|||||||
The resulting HTML files are rendered from the Markdown source files in the `content` folder, so even the plain text source files will work.
|
The resulting HTML files are rendered from the Markdown source files in the `content` folder, so even the plain text source files will work.
|
||||||
The correct HTML may be included directly in the source file and will be rendered both in the preview card and in the HTML page.
|
The correct HTML may be included directly in the source file and will be rendered both in the preview card and in the HTML page.
|
||||||
`frontmatter` header is recommended, specifying the following values:
|
`frontmatter` header is recommended, specifying the following values:
|
||||||
- `title`: "Will be rendered in the preview card and in the HTM page" (String)
|
- `title`: "Will be rendered in the preview card and in the HTML page" (String)
|
||||||
- `omit_second_title`: "Should the title be displayed immediately above the text in the HTML page (HTML page always also displays the title in the header) (Boolean, "True|False")
|
- `omit_second_title`: "Should the title be displayed immediately above the text in the HTML page (HTML page always also displays the title in the header) (Boolean, "True|False")
|
||||||
- `date`: Timestamp, like the date and time the text was created. ("2000-01-01T00:00:00+03:00")
|
- `date`: Timestamp, like the date and time the text was created. ("2000-01-01T00:00:00+03:00")
|
||||||
|
|
||||||
@@ -46,7 +46,7 @@ Configuration is minimal and done via the self-explanatory `config.py` file.
|
|||||||
Individual HTML pages can be customized via CSS and Javascript. To do so, put a '.css' and/or '.js' file into the `content` directory and make sure those files have the same name as the source '.md file'. E.g.:
|
Individual HTML pages can be customized via CSS and Javascript. To do so, put a '.css' and/or '.js' file into the `content` directory and make sure those files have the same name as the source '.md file'. E.g.:
|
||||||
- `article-01.md` - source file rendered to HTML.
|
- `article-01.md` - source file rendered to HTML.
|
||||||
- `article-01.css` - a CSS file with custom styles for the resulting HTML page.
|
- `article-01.css` - a CSS file with custom styles for the resulting HTML page.
|
||||||
- `article-01.js` - a Javasscript file with custom logic for the resulting HTML page.
|
- `article-01.js` - a Javascript file with custom logic for the resulting HTML page.
|
||||||
|
|
||||||
## Directories and structure
|
## Directories and structure
|
||||||
### Output directories
|
### Output directories
|
||||||
|
|||||||
Reference in New Issue
Block a user