Copyright 2026 Hidekazu Konishi (https://hidekazu-konishi.com/)

This product includes software developed by Hidekazu Konishi
(https://hidekazu-konishi.com/).

Licensed under the Gratilaus Attribution License, Version 1.0 (the "License");
you may not use these files except in compliance with the License. You may
obtain a copy of the License in the accompanying LICENSE file. The License is
derived from the Apache License, Version 2.0, and differs from it: Section 4A
requires a credit on websites built with this software.

Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.


===============================================================================
THE FOOTER CREDIT (LICENSE, SECTION 4A)
===============================================================================

Sites built from this starter render a credit line in the footer by default:

    Built with Gratilaus by H.K.

H.K. is Hidekazu Konishi, the author; the name links to
https://hidekazu-konishi.com/.

The credit IS a license condition. If you Publish a website that was generated
with this software, or that includes any part of its templates, style sheets or
scripts, every page of it (error pages and redirect-only pages aside) has to
show a credit that contains "Gratilaus" and "H.K." (written as they are, not
translated), with a link whose text includes "H.K." or "Gratilaus" and that
points to https://hidekazu-konishi.com/. The credit has to be visible in the
page as delivered, on every screen size and color scheme the page supports and
without a click or hover, not hidden by your CSS or scripts, no smaller than the
smallest other text around it, and with a contrast of at least 4.5:1 against its
background (WCAG 2.2, 1.4.3). Its link has to work: a visitor who follows it
reaches https://hidekazu-konishi.com/. Section 4A of the License has the exact
wording. In short:

  * Keep the default credit (config/site.yaml, `credit:`), do not hide it with
    your own CSS or scripts, and you are done. You may reword or translate it,
    and add your own words before or after it, as long as the result does not
    disparage the software or its author and does not state or imply that the
    author endorses, sponsors or is responsible for your site.

  * The rel attribute is your choice. The default is rel="nofollow", and we
    recommend keeping it: a link repeated in the footer of every site built from
    one template is a pattern search engines treat as link spam. The License
    never requires the link to be followed or indexed.

  * Exemption: you do not need the footer credit while a page of your site that
    visitors can reach from the home page by following links, without signing
    in, visibly shows a link to https://hidekazu-konishi.com/ whose text is
    exactly "hidekazu-konishi.com", for example

        <a href="https://hidekazu-konishi.com/">hidekazu-konishi.com</a>

    or an image link that shows the image given in Exhibit A of the License,
    unaltered and at least 32 by 32 CSS pixels, with alternative text that
    includes "hidekazu-konishi.com" (you may host your own copy of the image).
    The size, contrast and wording rules of the credit apply to that link too,
    the link has to work, and its rel attribute is your choice. Then you may
    set `credit.enabled: false`.

  * One credit that contains "Gratilaus" counts for every work released under
    the License with the same attribution URL on the same site, on each page
    where it is shown: the footer credit on every page also covers the pages
    with a Gratilaus Form contact form. (A site that uses only Gratilaus Form --
    its form backend, or the contact form script assets/js/mailform.js -- and no
    other files of this starter needs the credit only on the pages with the
    form or that load mailform.js; see Gratilaus Form.)

  * A site is not "Published" in the License's sense, and needs no credit
    yet, while only the people who build, maintain, test, review or approve
    it, or only your own employees and contractors (on an intranet, for
    example), can use it, and it requires signing in, is reachable only
    through a private network or a VPN, or is marked to be excluded from
    search engines ("noindex", or a robots.txt rule). A site that is offered
    or promoted to the public is published, whatever it is called.

  * If you hand a site, or its files (the built output included), to someone
    else, give them the License and tell them about Section 4A: from then on
    the credit is theirs to keep, and you are not responsible for the site
    unless you go on publishing it for them, or did not both give them the
    License and tell them about Section 4A.

  * A site that does not comply is not covered by the License for using the
    software on or for that site until it complies. The License is not
    revoked, and your other uses and the patent grant are not affected. A
    failure fixed within 30 days of the author's first notice to you (about
    any of your sites) is excused, and so is one you fix before any notice if
    no notice follows within 60 days; that second route ends once you have
    been notified about any site. A site moved to another host name or path
    counts as the same site, and a notice may come by any reasonable means,
    such as email to an address shown on the site or its contact form.

  * The author may ask you to remove the credit and the exemption link from a
    particular site. From then on, that site needs neither, and from 30 days
    after the request you may use the names on that site only as Section 6 of
    the License allows.

  * You may use "Gratilaus", the product names and "H.K." in the credit, in the
    exemption link, and to say truthfully that a site or a derivative is built
    with or based on this software, but not as, or as part of, the name of your
    own product, derivative or site, or in a way that states or implies that the
    author endorses, sponsors or is responsible for it. A derivative must not
    be presented as released by the author.

If you redistribute this software or a derivative of it, the License has to go
with it unchanged, including Section 4A and Exhibit A, and you have to carry
forward this NOTICE file and the copyright and attribution notices in the
source files. Serving the style sheets, scripts and other files to visitors'
browsers as part of a site is not redistribution in this sense, as long as you
keep the copyright and license notices that the software puts in them (or, if
a minifier or bundler removes them, keep them in a file served with the site
that those files or its pages refer to). Offering the files for download is
still redistribution.


===============================================================================
RESPONSIBILITY FOR WEBSITES
===============================================================================

Whoever publishes a website built with or using this software is responsible
for it and its content. The author is not responsible for websites, services or
content that others build, run or publish with this software, and the credit
does not make the author responsible for them. See Sections 7 and 8 of the
License and the Downloadable Software Disclaimer:
https://hidekazu-konishi.com/entry/privacy_policy.html#downloadable-software-disclaimer


===============================================================================
THIRD-PARTY COMPONENTS
===============================================================================

The components below are licensed under their own terms. They are not part of
this software for Section 4A of the License and need no credit.

-------------------------------------------------------------------------------
Simple Icons
-------------------------------------------------------------------------------
Brand mark path data in layout/icons.html.j2 (the `brand()` macro: X, Facebook,
LINE, LinkedIn, Pinterest, RSS and Feedly) is taken from Simple Icons.

    https://github.com/simple-icons/simple-icons
    License: CC0 1.0 Universal (public domain dedication)

CC0 imposes no attribution requirement. It is acknowledged here anyway.

All interface glyphs (the `ui()` macro: menu, search, chevrons, clock, folder,
author, link, bookmark, close, arrows) are original work by the copyright holder
named above and are covered by the License along with the rest of this
project.

-------------------------------------------------------------------------------
Pagefind
-------------------------------------------------------------------------------
Optional. Enabled by `features.search` in config/site.yaml.

    https://pagefind.app/
    License: MIT

Pagefind is NOT bundled in this repository. When search is enabled, the build
script invokes it through `npx` and it writes its own runtime into the output
directory. If you publish a site with search enabled, you are redistributing
Pagefind's MIT-licensed files, and its license notice has to go with them. The
build does that for you: after Pagefind runs, it writes Pagefind's copyright and
MIT license text to pagefind/LICENSE.txt in the output, next to Pagefind's own
files. Keep that file when you publish. Run the build with `--no-pagefind`, or
set `features.search: false`, to opt out entirely.

-------------------------------------------------------------------------------
Python packages installed with pip (not included in this project)
-------------------------------------------------------------------------------

Jinja2 (BSD-3-Clause), MarkupSafe (BSD-3-Clause, a dependency of Jinja2) and
PyYAML (MIT) are listed in requirements.txt and installed by pip under their own
licenses. They are not redistributed by this project.


===============================================================================
TRADEMARKS
===============================================================================

X, Facebook, LINE, Hatena, LinkedIn, Pinterest and Feedly are trademarks of
their respective owners. They appear in this project solely to label share
links that point at those services. This project is not affiliated with, endorsed by, or
sponsored by any of them.


===============================================================================
PROVENANCE
===============================================================================

The stylesheet, templates, icons and scripts in this repository are original
work, written from scratch for this project. This project is not a fork,
port, extraction or derivative of any CMS, theme or framework, and it neither
bundles nor requires one.
