You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _overviews/scala3-scaladoc/blog.md
+19Lines changed: 19 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -33,4 +33,23 @@ Scaladoc loads blog if the `_blog` directory exists.
33
33
All the blogpost filenames should start with date in numeric format matching `YYYY-MM-DD`.
34
34
Example name is `2015-10-23-dotty-compiler-bootstraps.md`.
35
35
36
+
## Page metadata
36
37
38
+
The blog pages in scaladoc support [Yaml Frontmatter](https://assemble.io/docs/YAML-front-matter.html) which allows you to specify different values which will be used for metadata in your page. Here are the possible fields:
39
+
40
+
```
41
+
---
42
+
layout: <A reference to the layout page for the blog page>
43
+
author: <Name of the author of the page>
44
+
title: <Title of the page>
45
+
subTitle: <Subtitle of the page>
46
+
date: <Date of the creation of the page>, e.g. 2016-12-05
47
+
authorImg: <Link to the author's image>
48
+
---
49
+
<Content of your page>
50
+
```
51
+
52
+
You can also find more details about the front matter on the [Jekyll documentation site](https://jekyllrb.com/docs/front-matter/).
53
+
54
+
## Syntax of the content
55
+
Keep in mind that the writing of your blog is done with Markdown. You can find more information about the syntax in [Markdown Guide](https://www.markdownguide.org/basic-syntax/).
0 commit comments