Skip to content

Echo Module to support templates subdirectories

Notifications You must be signed in to change notification settings

astlaure/echo-tmpl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Echo Tmpl

Package to add the possibility to use subfolders for your views

Why should I use it: HTMX apps

Install

go get github.com/astlaure/echo-tmpl

Usage

var app = echo.New()
app.Renderer = echotmpl.GetRenderer(echotmpl.Config{
    Views: "resources/views",
    LayoutFolder: "_layouts",
    DefaultLayout: "base",
})

About

Echo Module to support templates subdirectories

Resources

Stars

Watchers

Forks

Packages

No packages published