Packages

Toggle is a stupid-simple feature flagging library for Elixir w/ support for SQLite and Postgres.

Current section

Files

Jump to
toggle lib toggle_web components layouts.ex
Raw

lib/toggle_web/components/layouts.ex

defmodule ToggleWeb.Layouts do
@moduledoc """
This module holds different layouts used by your application.
See the `layouts` directory for all templates available.
The "root" layout is a skeleton rendered as part of the
application router. The "app" layout is set as the default
layout on both `use ToggleWeb, :controller` and
`use ToggleWeb, :live_view`.
"""
use ToggleWeb, :html
embed_templates "layouts/*"
end