Latte is an actively used template language created in 2008.

12Years Old 597Users ?Jobs
  • the Latte website
  • Latte on github
  • Latte first appeared in 2008
  • file extensions for Latte include latte
  • Have a question about Latte not answered here? Email me and let me know how I can help.

Example code from Linguist:

 * @param string $basePath web base path
 * @param string $robots tell robots how to index the content of a page (optional)
 * @param array $flashes flash messages
<!DOCTYPE html>
	<meta charset="utf-8">
	<meta name="description" content="">
	<meta name="author" content="">
	<meta name="robots" content="{$robots}" n:ifset="$robots">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">

	<title>{ifset $title}{$title} › {/ifset}Translation report</title>

	<link rel="stylesheet" media="screen,projection,tv" href="{$cdnUrl}/css/style.css?v={$cssHash}">
	<link rel="shortcut icon" href="{$cdnUrl}/favicon.png">
	<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
		<script src=""></script>
		<script src=""></script>
    <script n:syntax="off">
		(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
		ga('create', 'UA-33892654-4', '');
		ga('send', 'pageview');
	{block #head}{/block}

<body class="amara-guest history-empty">
	<script> document.documentElement.className+=' js' </script>

	{block #navbar}
		{include _navbar.latte}

	<div class="container">
		<div class="row">
			<div class="col-md-8 col-md-offset-2" n:inner-foreach="$flashes as $flash">
				{include _flash.latte, flash => $flash}

		{include #content}


	<script src="{$cdnUrl}/js/compiled.js?v={$jsHash}"></script>
	{block #scripts}{/block}

Trending Repos

repo stars description

Last updated June 22nd, 2020

Edit Latte on GitHub