Handlebars

1 program Added 2026-02-11T14:19:39.457010Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: Handlebars.js, HBS
Provenance: commit 64a336a4ae · authored 2026-02-11T15:19:54+01:00 · agent claude-code · model sonnet

Sources mentioning this language

5 sources · pl_id: pl/handlebars
LLM (this repo) · 1PldbLinguistPygmentsHyperpolyglot

Extensions claimed by this language

2 claims. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.handlebarslinguistprimary2.8M files
.hbslinguistsecondary7.6M files

Related languages

Handel-C (0.15)HipHop (0.13)HipHop.js (0.13)HAGGIS (0.12)CHR (0.11)

Real programs from Software Heritage

2 samples mined from derived_datasets/<date>/contents/*.parquet, byte-verified against the SWH archive. Citation-grade qualified SWHIDs preserved.
gh-portal-links.hbs · 31445 B · ext .hbs · seen 820× in SWH
via fallback
swh:1:cnt:26d4a881d0eb1ec0d3195ad23df5510f37cbc084;origin=https://github.com/snowangel912/ghost;anchor=swh:1:rev:dce2e68c9a620e9534f723a94dbb5f33c9e43034;path=/ghost/admin/app/components/gh-portal-links.hbs
Open in SWH · Raw bytes (SWH) · GitHub raw
Show source
<div class="gh-portal-links-container" {{did-insert (perform this.fetchTiers)}}>
    <div class="gh-portal-links-main">
        <h2>Links</h2>
        <p>Use these {{if this.isLink "links" "data attributes"}} in your theme to show pages of Portal.</p>
        <table class="gh-portal-links-table">
            <thead>
                <tr class="header">
                    <td><h4>Page</h4></td>
                    <td>
                        <div class='toggle-header'>
                            <h4>{{this.sectionHeaderLabel}}</h4>
                            <h4  role="button"
                                class='gh-portal-links-cell toggle' {{on "click" this.toggleShowLinks}}
                                data-test-toggle="portal-links-data-attr-toggle"
                            >
                                {{this.toggleValue}}
                            </h4>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td colspan="2"><hr class="gh-portal-links-group-divider first" /></td>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td class="pagename">Default</td>
                    <td class='page-url'>
                        <div class="gh-portal-page-url-container" data-test--page-url="default">
                            {{#if this.isLink}}
                                <input class="gh-input page-url-field"
                                    type="text"
                                    data-test-input="portal-link-default"
                                    value="{{this.siteUrl}}/#/portal"
                                    disabled="true"
                                    aria-label="Default Portal link">
                            {{else}}
                                <input class="gh-input page-url-field"
                                    type="text"
                                    data-test-input="portal-data-attr-default"
                                    value="data-portal"
                                    disabled="true"
                                    aria-label="Default Portal data attribute">
                            {{/if}}

                            <button
                                type="button" {{on "click" (fn (perform this.copyStaticLink) '')}}
                                class="gh-portal-setting-copy"
                                data-test-button="copy-url-attr"
                            >
                                {{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice ""))}}
                                    {{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
                                {{else}}
                                    <span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
                                {{/if}}
                            </button>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td colspan="2"><hr class="gh-portal-links-group-divider" /></td>
                </tr>
                <tr>
                    <td class='pagename'>Sign in</td>
                    <td class='page-url'>
                        <div class="gh-portal-page-url-container" data-test-page-url="signin">
                            {{#if this.isLink}}
                                <input class="gh-input page-url-field"
                                    type="text"
                                    data-test-input="portal-link-signin"
                                    value="{{this.siteUrl}}/#/portal/signin"
                                    disabled="true"
                                    aria-label="Sign in Portal link">
                            {{else}}
                                <input class="gh-input page-url-field"
                                    type="text"
                                    data-test-input="portal-data-attr-signin"
                                    value='data-portal="signin"'
                                    disabled="true"
                                    aria-label="Sign in Portal data attribute">
                            {{/if}}
                            <button
                                type="button" {{on "click" (fn (perform this.copyStaticLink) 'signin')}}
                                class="gh-portal-setting-copy"
                                data-test-button="copy-url-attr"
                            >
                                {{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice "signin"))}}
                                    {{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
                                {{else}}
                                    <span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
                                {{/if}}
                            </button>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class='pagename'>Sign up</td>
                    <td class='page-url'>
                        <div class="gh-portal-page-url-container" data-test-page-url="signup">
                            {{#if this.isLink}}
                                <input class="gh-input page-url-field"
                                    type="text"
                                    data-test-input="portal-link-signup"
                                    value="{{this.siteUrl}}/#/portal/signup"
                                    disabled="true"
                                    aria-label="Sign up Portal link">
                            {{else}}
                                <input class="gh-input page-url-field"
                                    data-test-input="portal-data-attr-signup"
                                    type="text"
                                    value='data-portal="signup"'
                                    disabled="true"
                                    aria-label="Sign up Portal data attribute">
                            {{/if}}
                            <button
                                type="button" {{on "click" (fn (perform this.copyStaticLink) 'signup')}}
                                class="gh-portal-setting-copy"
                                data-test-button="copy-url-attr"
                            >
                                {{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice "signup"))}}
                                    {{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
                                {{else}}
                                    <span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
                                {{/if}}
                            </button>
                        </div>
                    </td>
                </tr>
                {{#if (gt this.tiers.length 1)}}
                    <tr>
                        <td colspan="2"><hr class="gh-portal-links-group-divider" /></td>
                    </tr>
                    <tr>
                        <td class='pagename strong'>Tier</td>
                        <td class='page-url'>
                            <span
                                    class="gh-select"
                                    data-select-text="test"
                                    tabindex="0"
                                >
                                    <OneWaySelect
                                        data-test-select="portal-tier-select"
                                        @id="portal-tier-link"
                                        @name="portal[tier-link]"
                                        @options={{this.tierOptions}}
                                        @optionValuePath="name"
                                        @optionLabelPath="label"
                                        @value={{this.selectedTier}}
                                        @update={{action "setSelectedTier"}}
                                    />
                                    {{svg-jar "arrow-down-small"}}
                                </span>
                        </td>
                    </tr>
                    <tr>
                        <td class='pagename'>Sign up/Monthly</td>
                        <td class='page-url'>
                            <div class="gh-portal-page-url-container" data-test-page-url="{{this.selectedTierIdPath}}">
                                {{#if this.isLink}}
                                <input class="gh-input page-url-field"
                                    type="text"
                                    data-test-input="portal-tier-link-monthly"
                                    value="{{this.siteUrl}}/#/portal/signup{{this.selectedTierIdPath}}/monthly"
                                    disabled="true"
                                    aria-label="Monthly sign up Portal link">
                                {{else}}
                                    <input class="gh-input page-url-field"
                                        type="text"
                                        data-test-input="portal-tier-data-attr-monthly"
                                        value='data-portal="signup{{this.selectedTierIdPath}}/monthly"'
                                        disabled="true"
                                        aria-label="Monthly sign up Portal data attribute">
                                {{/if}}
                                <button
                                    type="button" {{on "click" (fn (perform this.copyTierSignupLink) 'monthly')}}
                                    class="gh-portal-setting-copy"
                                    data-test-button="copy-url-attr"
                                >
                                    {{#if (and this.copyTierSignupLink.isRunning (eq this.copiedSignupInterval "monthly"))}}
                                        {{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
                                    {{else}}
                                        <span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
                                    {{/if}}
                                </button>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class='pagename'>Sign up/Yearly</td>
                        <td class='page-url'>
                            <div class="gh-portal-page-url-container" data-test-page-url="{{this.selectedTierIdPath}}">
                                {{#if this.isLink}}
                                <input class="gh-input page-url-field"
                                    type="text"
                                    data-test-input="portal-tier-link-yearly"
                                    value="{{this.siteUrl}}/#/portal/signup{{this.selectedTierIdPath}}/yearly"
                                    disabled="true"
                                    aria-label="Yearly sign up Portal link">
                                {{else}}
                                    <input class="gh-input page-url-field"
                                        type="text"
                                        data-test-input="portal-tier-data-attr-yearly"
                                        value='data-portal="signup{{this.selectedTierIdPath}}/yearly"'
                                        disabled="true"
                                        aria-label="Yearly sign up Portal data attribute">
                                {{/if}}
                                <button
                                    type="button" {{on "click" (fn (perform this.copyTierSignupLink) 'yearly')}}
                                    class="gh-portal-setting-copy"
                                    data-test-button="copy-url-attr"
                                >
                                    {{#if (and this.copyTierSignupLink.isRunning (eq this.copiedSignupInterval "yearly"))}}
                                        {{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
                                    {{else}}
                                        <span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
                                    {{/if}}
                                </button>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class='pagename'>Sign up/Free</td>
                        <td class='page-url'>
                            <div class="gh-portal-page-url-container">
                                {{#if this.isLink}}
                                <input class="gh-input page-url-field"
                                    type="text"
                                    data-test-input="portal-tier-link-free"
                                    value="{{this.siteUrl}}/#/portal/signup/free"
                                    disabled="true"
                                    aria-label="Free sign up Portal link">
                                {{else}}
                                    <input class="gh-input page-url-field"
                                        type="text"
                                        data-test-input="portal-tier-data-attr-free"
                                        value='data-portal="signup/free"'
                                        disabled="true"
                                        aria-label="Free sign up Portal data attribute">
                                {{/if}}
                                <button
                                    type="button" {{on "click" (fn (perform this.copyStaticLink) 'signup/free')}}
                                    class="gh-portal-setting-copy"
                                    data-test-button="copy-url-attr"
                                >
                                    {{#if (and this.copyStaticLink.isRunning (eq this.copiedPrice "signup/free"))}}
                                        {{svg-jar "check-circle" class="w3 v-mid mr2 stroke-darkgrey"}} Copied
                                    {{else}}
                                        <span data-tooltip="Copy">{{svg-jar "copy" class="w4 v-mid fill-darkgrey"}}</span>
                                    {{/if}}
                                </button>
                            </div>
                        </td>
                    </tr>
                {{else}}
                    <tr>
                        <td class='pagename'>Sign up/Monthly</td>
                        <td class='page-url'>
                            <div class="gh-portal-page-url-container">
                                {{#if this.isLink}}
                                <input class="gh-input page-url-field"
                                    type="text"
                                    data-test-input="portal-tier-link-monthly"
                                    value="{{this.siteUrl}}/#/portal/signup/monthly"
                                    disabled="true"
                                    aria-label="Monthly sign up Portal link">
                                {{else}}
                                    <input class="gh-input page-url-field"
                                        type="text"
                                        data-test-input="portal-tier-data-attr-monthly"
                                        value='data-portal="signup/monthly"'
                                        disabled="true
…(truncated)…
calendar.hbs · 689 B · ext .hbs · seen 516× in SWH
via fallback
swh:1:cnt:b2823e874b5e125ece84f31a122eab062730a780;origin=https://github.com/polonel/trudesk;anchor=swh:1:rev:8e35a015e29e81eda579ea0829d04b6046ca0683;path=/src/views/calendar.hbs
Open in SWH · Raw bytes (SWH) · GitHub raw
Show source
{{#contentFor 'css'}}
    <link rel="stylesheet" href="js/plugins/fullcalendar/fullcalendar.css"/>
{{/contentFor}}

<div class="small-12 large-10 columns nopadding page-right-content">
    <div class="page-title">
        <p class="left">Calendar</p>
        <div class="right">
            <ul class="button-group">
                <li class="active"><a href="#" role="button" class="btn">Create Event</a></li>
            </ul>
        </div>
    </div>
    <!--Content Here-->
    <div class="row">
        <div class="small-12 columns">
            <div id="calendar" class="full-height scrollable"></div>
        </div>
    </div>
</div>

{{#contentFor 'js-plugins'}}

{{/contentFor}}

Programs collected by LLM agents experimental · unverified

Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.

Blog Post Template

Provenance: commit 64a336a4ae · authored 2026-02-11T15:19:54+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.hbs · license: MIT · added: 2026-02-11T14:19:39.457010Z
<div class="entry">
  <h1>{{title}}</h1>
  <div class="body">
    {{body}}
  </div>
  {{#if author}}
    <div class="author">
      Written by {{author.firstName}} {{author.lastName}}
    </div>
  {{/if}}
  {{#each comments}}
    <div class="comment">
      <p>{{text}}</p>
      <p>By {{author}} on {{date}}</p>
    </div>
  {{/each}}
</div>

Contribute — propose a file extension

Tell us where to find evidence about Handlebars (mapped to pl/handlebars). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Handlebars/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Handel-C Hangover →