Skip to content

Commit 34c9b09

Browse files
committed
chore: update README
1 parent ee7b8cd commit 34c9b09

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Static Site Generator for Elixir.
66

77
- [x] Good code and browser reloading on file change
88
- [x] Easy to use the current Node.js JS/CSS tooling
9+
- [x] Extensions
910
- [ ] Ability to work with "data" (either dynamic data or static files)
1011
- [ ] Handles stuff like RSS, sitemap, SEO.
1112

@@ -18,7 +19,7 @@ This package can be installed by adding `tableau` to your list of dependencies i
1819
```elixir
1920
def deps do
2021
[
21-
{:tableau, "~> 0.2"}
22+
{:tableau, "~> 0.3"}
2223
]
2324
end
2425
```
@@ -84,7 +85,7 @@ defmodule MySite.AboutPage do
8485

8586
import Temple
8687

87-
def render(assigns) do
88+
def template(assigns) do
8889
temple do
8990
span class: "text-red-500 font-bold" do
9091
"i'm a super cool and smart!"
@@ -121,7 +122,7 @@ defmodule YourApp.Layouts.App do
121122

122123
import Temple
123124

124-
def render(assigns) do
125+
def template(assigns) do
125126
temple do
126127
"<!DOCTYPE html>"
127128

@@ -136,8 +137,7 @@ defmodule YourApp.Layouts.App do
136137

137138
body class: "font-sans" do
138139
main class: "container mx-auto px-2" do
139-
slot :default
140-
end
140+
render(@inner_content)
141141
end
142142
end
143143

@@ -153,7 +153,7 @@ end
153153

154154
### JS/CSS
155155

156-
You can arbitrarily start other build tools as "watchers". This is inspired by the way [Phoenix does it](TODO).
156+
You can arbitrarily start other build tools as "watchers". This is inspired by the way Phoenix does it.
157157

158158
```elixir
159159
# config/config.exs

0 commit comments

Comments
 (0)