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: lib/tableau/extensions/post_extension.ex
+61-12
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,18 @@
1
1
defmoduleTableau.PostExtension.Configdo
2
+
@moduledoc"""
3
+
Configuration for PostExtension.
4
+
5
+
## Options
6
+
- `:enabled` - boolean - Extension is active or not.
7
+
- `:dir` - string - Directory to scan for markdown files. Defaults to `_posts`
8
+
- `:future` - boolean - Show posts that have dates later than the current timestamp, or time at which the site is generated.
9
+
- `:permalink` - string - Default output path for posts. Accepts `:title` as a replacement keyword, replaced with the post's provided title. If a post has a `:permalink` provided, that will override this value _for that post_.
10
+
- `layout` - string - Elixir module providing page layout for posts. Default is nil
0 commit comments