handlebars
Here are 1,604 public repositories matching this topic...
Documentation error
Noticed an error in the documentation
{{ellipsis "foo bar baz", 7}}
has an comma which should not be there and breaks the helper, should be
{{ellipsis "foo bar baz" 7}}
-
Updated
May 22, 2020 - Java
-
Updated
May 25, 2020 - JavaScript
I've had a few issues with this, the latest one being this part from the ScriptObject documentation:
"Notice that when using a function with pipe calls like {{description | string.strip }}``, the last argument passed to the string.strip` function is the result of the previous pipe. That's a reason why you will notice in all builtin functions in scriban that they usually take the most relevant p
-
Updated
Oct 12, 2018 - PHP
-
Updated
Jan 19, 2020 - C#
On the page and section https://foundation.zurb.com/sites/docs/panini.html#custom-data is explained how to implement global vars. I followed these steps, but didn't get it to work. After some research is saw i need to update the gulp file.
from:
function pages() {
return gulp.src(['src/pages/**/*.html', '!src/pages/archive/**/*.html'])
.pipe(panini({
root: 'src/pages',
-
Updated
Mar 10, 2020 - PHP
In the handlebars.js docs the following is described (https://handlebarsjs.com/expressions.html):
This expands the default behavior of stripping lines that are "standalone" helpers (only a block helper, comment, or partial and whitespace).
They give the example:
{{#each nav}}
<a href="{{url}}">
{{#if test}}
{{title}}
{{^}}
Empty
{{/if}}
</a>
{{
-
Updated
Jul 5, 2019 - JavaScript
Escaping mustaches
In Handlebars, mustaches can be escaped by backslash. Highlighting such things could be useful.
See jsfiddle example on how escaping works.
A good project would be fairly simple, and well commented.
Steps:
- Create new project using Squirrelly
- It could use Express, or run as a web page, or something else
- Upload project to Github
- Comment here with the link--we'll probably put it in
cheatsheet.mdor the online docs or wiki
When I generate HTML on OSX then 150 is displayed as €150.00.
When doing the same on Fedora 150 is just €150.
Any idea what might be the problem???
-
Updated
Feb 21, 2020 - JavaScript
-
Updated
Mar 24, 2020 - Python
Description
When developing on a responsive website there are some elements that has to be cloned and used doubled - for example a navigation for the burger-style-menu on mobile and the mega-menu on a large screen.
Instead of loading both at once, what, if it would be possible to load a module only when a certain viewport width/height is valid, like:
import { ModuleSigna-
Updated
Aug 27, 2017 - JavaScript
This might be helpful. Two persons already asked for supporting React and Preact.
We know that we have to add a dependency, a babel plugin (or preset) for JSX, configure ESLint etc … but it isn’t a no brainer at all.
Attached you find a patch for setting a minimal preact example.
I would like to propose using GitHubs
-
Updated
Feb 4, 2016 - Scala
-
Updated
Nov 2, 2019 - JavaScript
-
Updated
Oct 28, 2019 - JavaScript
Create tutorials
For, at least, the following use cases:
- Lesson 1 - Hello World!
- Lesson 2 - Configuration
- Lesson 3 - Loading Database Data
- Lesson 4 - Loading Relational Objects
- Lesson 5 - Filters
- Lesson 6 - Executing Operations
- Lesson 7 - Forms
- Lesson 8 - Posting Data
- Lesson 9 - Validations and User State
- Lesson 10 - Preloading Views
- Lesson 11 - Multidomain
- Lesson 12 - Changin
-
Updated
Feb 28, 2016 - JavaScript
General Information
- [X ] Usage
- Development
- Documentation
- Feature Request
Specific generator
- [X ] Addons
- HandlebarsJS
What Version you are running?
- NodeJS: 8.11.1
- NPM: 6.4.1
- @pnp/spfx: 1.6.3
Describe your problem
- Create a new ApplicationCustomizer Extension project using VueJS
- Add PlaceHolderContent dependencies as desc
Is your feature request related to a problem? Please describe.
It's very easy to forget about updating META-INF/services for ServiceLoader every time HandlerFactory or ActionFactory is created/deleted.
Describe the solution you'd like
An annotation could be used to automaticaly detect factories. One existing solution is [Google's AutoService](https://github.com/google/auto/tree/mast
There is a problem with the examples for watching templates https://github.com/sunng87/handlebars-iron/blob/master/examples/watch_server.rs .
no method named `watch` found for type `std::sync::Arc<hbs::HandlebarsEngine>` in the current scope
-
Updated
Jan 24, 2020 - TypeScript
Improve this page
Add a description, image, and links to the handlebars topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the handlebars topic, visit your repo's landing page and select "manage topics."
Currently, it is only possible to link to an already existing page of the site.
When using publii as a standard (i.e. non-blog) site creator, this totally breaks the flow : while writing a page, you think to something you want to link to as a new page, yo must save/close your page, create the new one, save it, go back to the first page, create the link and keep going.
It would be very convenie