Repository navigation
Expand file tree
/
Copy paththeme.toml
More file actions
135 lines (115 loc) · 5.95 KB
/
Copy paththeme.toml
File metadata and controls
135 lines (115 loc) · 5.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
name = "tapestry"
description = "A Zola theme for academic and industry researcher profile websites, derived from terminus, built for Zola 0.23+ (Tera v2)"
tags = ["scholarly", "academic", "portfolio", "blog", "minimal", "personal", "responsive", "seo"]
license = "MIT"
homepage = "https://github.com/anirbanbasu/tapestry"
min_version = "0.23.6"
demo = "https://ghp-tapestry.anirbanbasu.com"
[author]
name = "Anirban Basu"
homepage = "https://www.anirbanbasu.com"
repo = "https://github.com/anirbanbasu/tapestry"
[original]
author = "ebkalderon"
homepage = "https://eyalkalderon.com"
repo = "https://github.com/ebkalderon/terminus"
[extra]
# Stable per-site identifier used to namespace the theme switcher's and
# presentation style switcher's localStorage keys (both write to
# window.localStorage, scoped by the browser to the page's origin —
# scheme+host+port, but NOT by path). Without this, two Tapestry sites
# deployed under the same origin but different paths (e.g. two GitHub Pages
# project sites both under username.github.io/, or several sites reverse-
# proxied under one domain) share one localStorage bucket and silently
# overwrite each other's saved colour-mode/style choice.
#
# Falls back to `config.base_url` if unset, which is enough to distinguish
# sites in a plain `zola build` — but NOT during `zola serve` (which always
# rewrites `config.base_url` to `http://127.0.0.1:<port>/`, discarding any
# path) or a `zola build --base-url <url>` override that strips or
# normalises the path. Set this explicitly for any site that is: (a)
# deployed to a path-based subdirectory shared with other Tapestry sites on
# the same origin, or (b) regularly tested locally via `zola serve`/
# `--base-url` alongside other Tapestry projects on the same port. Any
# unique string works — a site slug, UUID, or the repo name.
# site_id = "my-site-slug"
# Presentation style group + variant (see CONSTITUTION.md §7).
#
# Maximum of 5 preset style groups; each may offer multiple fully-specified
# variants. Unset or invalid `presentation_style`/`presentation_variant`
# values fall back to "scholarly"/"contemporary-research-lab" unconditionally
# (CONSTITUTION.md §7, amendment 2026-JUL-04-009) — this applies even when
# migrating from a terminus site that still has `extra.color_scheme` /
# `extra.color_scheme_switcher` set; those keys are inert under Tapestry and
# are deliberately not read, mapped, or migrated (see
# specs/terminus-compat-contract.md §9).
presentation_style = "scholarly"
presentation_variant = "contemporary-research-lab"
# Opt-in presentation style/variant switcher (CONSTITUTION.md §2, amendment
# 2026-JUL-05-002): a disclosure menu next to the theme switcher listing
# every implemented `<style>/<variant>` combination, letting a visitor
# preview a different look live without a page reload. Requires JS (one of
# the three sanctioned exceptions) — default off; a site opts in explicitly.
presentation_style_switcher = false
# Add global stylesheets to support user-defined customisation.
#
# Global styles added through stylesheets here may be overridden on individual pages or sections
# by specifying corresponding styles and setting them up for use through
# `page.extra.stylesheets` or `section.extra.stylesheets`, respectively.
# stylesheets = []
# Customize the copyright text shown in the site footer using markdown.
#
# Strings delimited by `::` will be split into mobile-responsive HTML spans. If
# present, the placeholder values `$YEAR` and `$AUTHOR` are templated with the
# current year and the site author defined in your `config.toml`, respectively.
copyright = "© $YEAR $AUTHOR :: Powered by [Zola](https://www.getzola.org) :: [Tapestry](https://github.com/anirbanbasu/tapestry) theme."
# favicon = "images/logo/logo-01-woven-monogram-square.svg"
# favicon_emoji = "👨💻"
# Show RSS feed icon in the site footer alongside any `socials` defined below.
#
# Set to `true` to use the default "rss" icon, or specify a custom icon name
# (e.g. "atom"). The icon must exist in `static/images/social_icons/` (without
# the `.svg` extension).
#
# Note: If multiple feed filenames are defined, Atom feeds and RSS feeds will
# be shown with different icons to remain distinguishable from one another.
feed_icon = true
# Enable Mastodon link attribution. See here for details:
# https://blog.joinmastodon.org/2024/07/highlighting-journalism-on-mastodon/
# fediverse_creator = "@user@mastodon.social"
# Sets the header text to a value other than the contents of `config.title`.
# header_title = "My custom title"
# Sets a custom logo using an image file. Can be an SVG image.
#
# Note: when unset, Tapestry renders its own brand logo (see
# specs/brand-logo.md) instead of falling back to text.
# header_logo = "images/logo/logo.svg"
# When a custom header_logo is set, paints the whole header row with
# --colour-accent-primary in dark mode, so arbitrary logo files that don't
# use currentColor (and might otherwise vanish against a dark page
# background) always sit on a predictable, mode-appropriate backdrop. Has
# no effect when header_logo is unset. Default: on.
header_logo_accent_background = true
# Enable KaTeX support for all posts. Rendered client-side via
# js/katex.min.js (one of the three sanctioned JS exceptions) — see
# specs/terminus-compat-contract.md §7.
katex = false
# Valid options are "center", "left", or "full-width".
layout = "center"
# Display default author on all pages without `authors = [...]` in frontmatter.
show_default_author = true
# main_menu = [
# { name = "internal link 1", url = "resume.pdf" },
# { name = "internal link 2", url = "blog", trailing_slash = true },
# { name = "external link", url = "https://github.com", new_tab = true },
# ]
# socials = [
# { name = "email", url = "mailto:hello@example.com" },
# { name = "github", url = "https://github.com/anirbanbasu" },
# ]
[extra.content_security_policy]
enable = true
allowed_domains = []
[extra.responsive_images]
widths = [320, 640, 784, 1280, 1920, 2560]
fallback_width = 1280