https://github.com/bolt/helloworld
[Bolt Extension] A small extension to add a 'Hello, World!'-greeting to your site, when using `{{ helloworld() }}` in your templates.
https://github.com/bolt/helloworld
Last synced: 3 months ago
JSON representation
[Bolt Extension] A small extension to add a 'Hello, World!'-greeting to your site, when using `{{ helloworld() }}` in your templates.
- Host: GitHub
- URL: https://github.com/bolt/helloworld
- Owner: bolt
- License: mit
- Created: 2014-08-13T13:58:38.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-01-11T06:27:50.000Z (over 9 years ago)
- Last Synced: 2025-01-18T08:38:04.538Z (5 months ago)
- Language: PHP
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Hello, World!
============="Hello, World!" is a small sample extension to display a short greeting in your templates. Use it by simply placing the following in your template:
{{ helloworld() }}
You can customize the output by including a name or variable:
{{ helloworld("Bob") }}
{{ helloworld(record.user.displayname)}}
The default greeting is "world". You can customize it by editing the (very simple) `config.yml` file.
name: Stranger