From 91a93fad843433c57de39cd286c4e21dc5ba6da7 Mon Sep 17 00:00:00 2001 From: Dalgona Date: Sat, 25 Jan 2020 09:16:04 +0900 Subject: [PATCH] Update module doc for Serum.{Page,Post} --- lib/serum/page.ex | 2 ++ lib/serum/post.ex | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/serum/page.ex b/lib/serum/page.ex index 23ede314..58d62f78 100644 --- a/lib/serum/page.ex +++ b/lib/serum/page.ex @@ -12,6 +12,8 @@ defmodule Serum.Page do * `url`: Absolute URL of the page within the website * `output`: Destination path * `data`: Source data + * `extras`: A map for storing arbitrary key-value data + * `template`: Name of custom template or `nil` """ @type t :: %__MODULE__{ diff --git a/lib/serum/post.ex b/lib/serum/post.ex index a00ccaf4..9a97073b 100644 --- a/lib/serum/post.ex +++ b/lib/serum/post.ex @@ -12,6 +12,8 @@ defmodule Serum.Post do * `html`: Post contents converted into HTML * `preview`: Preview text of the post * `output`: Destination path + * `extras`: A map for storing arbitrary key-value data + * `template`: Name of custom template or `nil` """ require Serum.Result, as: Result