elixirschool / school_house

The new era of Elixir School now powered by @phoenixframework
https://elixirschool.com/
Apache License 2.0
155 stars 49 forks source link

Each section header link gets a unique id #171

Closed vclayton closed 3 years ago

vclayton commented 3 years ago

This is an attempt to fix bug #99

IDs all get a number appended to them, starting at 0 and counting up. I'm still new to elixir so I'm sure it could be done more cleanly, am happy to receive feedback.

jaimeiniesta commented 3 years ago

I think this can be a working solution, adding a unique number will ensure the generated IDs are unique.