mfgames-cil/src/MfGames.Nitride.Handlebars
2024-04-20 23:02:38 -05:00
..
Configuration chore: switching to mfgames-project-setup-flake + reformat 2024-03-05 23:15:03 -06:00
ApplyStyleTemplate.cs chore: switching to mfgames-project-setup-flake + reformat 2024-03-05 23:15:03 -06:00
ApplyStyleTemplateValidator.cs chore: switching to mfgames-project-setup-flake + reformat 2024-03-05 23:15:03 -06:00
HandlebarsTemplateCache.cs chore: switching to mfgames-project-setup-flake + reformat 2024-03-05 23:15:03 -06:00
HasHandlebarsTemplate.cs fix: switching Is* and Has* classes into singletons 2024-03-10 23:33:43 -05:00
IdentifyHandlebarsFromComponent.cs chore: switching to mfgames-project-setup-flake + reformat 2024-03-05 23:15:03 -06:00
IdentifyHandlebarsFromComponentValidator.cs chore: switching to mfgames-project-setup-flake + reformat 2024-03-05 23:15:03 -06:00
IdentifyHandlebarsFromContent.cs chore: switching to mfgames-project-setup-flake + reformat 2024-03-05 23:15:03 -06:00
MfGames.Nitride.Handlebars.csproj fix: updating package dependencies 2024-04-20 23:02:38 -05:00
NitrideHandlebarsBuilderExtensions.cs chore: switching to mfgames-project-setup-flake + reformat 2024-03-05 23:15:03 -06:00
NitrideHandlebarsModule.cs chore: switching to mfgames-project-setup-flake + reformat 2024-03-05 23:15:03 -06:00
README.md feat!: mass updating dependencies with repository merge 2023-07-10 12:18:30 -05:00
RenderContentTemplate.cs chore: switching to mfgames-project-setup-flake + reformat 2024-03-05 23:15:03 -06:00
RenderContentTemplateValidator.cs chore: switching to mfgames-project-setup-flake + reformat 2024-03-05 23:15:03 -06:00

Nitride.Handlebars

This is a collection of Handlebars operations that work with Nitride. There are two ways of using Handelbars in this package.

IHandlebars

This library does not configure or register IHandlebars but requires it to be injected into the DI container (Autofac) along with any templates or inlines loaded.

Styling Templates

The first is to use it to apply a Handlebars theme to a page or text content. This would include adding links to the CSS, any javascript, generating menus, and common navigation elements.

Content Templates

The second is used to apply it to the Handlebars inside the text content. This is the page-specific content that needs to be resolved. A good example of this might be creating a "last five posts" page or embedding some metadata from the YAML header into the page.