remove dbg()
This commit is contained in:
parent
8a2d6c6b80
commit
ec0358f7b0
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ defmodule SloaneSH.FrontMatter do
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def parse("+++" <> rest) do
|
def parse("+++" <> rest) do
|
||||||
[toml, body] = String.split(rest, ["+++\n", "+++\r\n"], parts: 2) |> dbg()
|
[toml, body] = String.split(rest, ["+++\n", "+++\r\n"], parts: 2)
|
||||||
|
|
||||||
with {:ok, attrs} <- Toml.decode(toml, keys: :atoms) do
|
with {:ok, attrs} <- Toml.decode(toml, keys: :atoms) do
|
||||||
{:ok, attrs, body}
|
{:ok, attrs, body}
|
||||||
|
|
Loading…
Reference in a new issue