Skip to content

Instantly share code, notes, and snippets.

View florianmartens's full-sized avatar
🏠
Working from home

florianmartens

🏠
Working from home
View GitHub Profile
@jonlabelle
jonlabelle / npm_vs_yarn_command_translation_cheatsheet.md
Last active November 14, 2024 01:45
npm vs yarn command translation cheat sheet

Template composition with inclusion

Every template language I have seen provides some mechanism for one template to include another, thus supporting the reuse of repeated elements like headers and footers. The included templates are called partials in Mustache parlance:

<!-- home.hbs -->
<html>
<body>
  {{> header}}
  <p> HOME </p>
  {{> footer}}