Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redesign #65

Merged
merged 291 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
291 commits
Select commit Hold shift + click to select a range
bb6b063
chore: update icon shortcode and partial
imfing Aug 18, 2023
8298278
chore: rename components to shortcodes
imfing Aug 18, 2023
57f2982
feat: add mhchem support
imfing Aug 18, 2023
2e11d23
chore: rename assets/vendor to lib
imfing Aug 19, 2023
1c79624
feat: add more content and fix issues
imfing Aug 19, 2023
15d3a4d
feat: implement collapsible sidebar
imfing Aug 19, 2023
228496f
feat: support prev and next in frontmatter
imfing Aug 20, 2023
0360a93
feat: add twtter cards to head
imfing Aug 20, 2023
80659b4
feat: navbar logo and title can be configured
imfing Aug 20, 2023
b6f40d6
feat: add subtitle and image support to card
imfing Aug 20, 2023
5f6b313
chore: use max-w-screen-xl for content and footer
imfing Aug 20, 2023
aa13050
chore: add image example for cards
imfing Aug 20, 2023
8073722
fix: translation for navbar menu
imfing Aug 21, 2023
600c8e5
ci: add pages.yml
imfing Aug 21, 2023
9b4113a
fix: remove configure pages
imfing Aug 21, 2023
7e302ac
fix: hugo build baseURL
imfing Aug 21, 2023
ce78845
chore: update layouts
imfing Aug 21, 2023
5821b02
docs: add customization and update other pages
imfing Aug 21, 2023
86e5106
docs: update docs and footnote styles
imfing Aug 21, 2023
64e27cb
docs: update index page
imfing Aug 22, 2023
04a5c73
feat: add rss template
imfing Aug 23, 2023
4e250a4
chore: update css height calc to use height var
imfing Aug 23, 2023
0db055d
chore: remove taskfile
imfing Aug 23, 2023
d14091c
chore: update default list layout
imfing Aug 23, 2023
97f31e9
chore: add displayPlaceholder option to sidebar
imfing Aug 24, 2023
35dd9b8
fix: icon fill color should be current color
imfing Aug 25, 2023
7391788
chore: add hextra home layout
imfing Aug 25, 2023
d1bc057
chore: update home page
imfing Aug 26, 2023
af77173
chore: update build configs
imfing Aug 26, 2023
ede8991
fix: card links for getting started page
imfing Aug 26, 2023
cef7fc0
docs: add instruction for using template repo
imfing Aug 26, 2023
a522794
chore: add feature cards to home page
imfing Aug 27, 2023
03c8421
fix: image urls on home page
imfing Aug 27, 2023
d9c44bc
docs: add content to about page
imfing Aug 27, 2023
c8b1d76
chore: add more i18n options and update templates
imfing Aug 27, 2023
5186f29
fix: site.webmanifest should use relative url
imfing Aug 27, 2023
6a2f076
chore: update README.md
imfing Aug 27, 2023
19c95e9
docs: minor update to the features section
imfing Aug 27, 2023
5cf72e9
Update README.md
imfing Aug 27, 2023
259b050
chore: update README.md
imfing Aug 27, 2023
a1f2859
chore: updated page description partial
imfing Aug 27, 2023
cc09972
fix: add alt to home page images
imfing Aug 27, 2023
0a02026
fix: urls in site.webmanifest
imfing Aug 27, 2023
6727ef0
fix: [html] does not have [lang] attribute
imfing Aug 27, 2023
dd4c090
chore: update theme meta
imfing Aug 27, 2023
1a8d881
chore: add screenshots
imfing Aug 27, 2023
faefe54
fix: card link - closes #4 (#3)
hugo-sid Aug 28, 2023
a7c48b4
chore: use environment variable to specify Hugo version (#2)
hugo-sid Aug 28, 2023
57134ea
fix: whitespace in home page title
imfing Aug 28, 2023
2d62e74
fix: missing integrity value in head css (#6)
imfing Aug 28, 2023
49e1e01
chore: add netlify.toml
imfing Aug 28, 2023
283c7da
chore: add github actions and netlify badges
imfing Aug 28, 2023
c0d15f8
chore: proper dev and prod styles handling
imfing Aug 28, 2023
e1fa9e7
chore: replace space with nbsp
imfing Aug 28, 2023
b96eb01
docs: enchance pages navigation
imfing Aug 28, 2023
7993dc3
i18n: Add translation of zh-cn and zh-hk (#8)
naranyinyun Aug 29, 2023
392c6f8
current instructions show a 404 and pages dont render correctly (#10)
Aug 30, 2023
e1a2109
i18n: Add some zh-cn translation of exampleSite(docs) (#12)
naranyinyun Aug 30, 2023
b709452
chore(i18n): improve translations of zh-cn (#14)
imfing Aug 30, 2023
ed14cf0
chore: update local dev config
imfing Aug 31, 2023
8a4e093
fix: toc should display headings as is (#20)
imfing Aug 31, 2023
34c6f6c
docs: added info to configure footer (#23)
Sep 1, 2023
5b71912
feat: support markdown for copyright text (#25)
imfing Sep 1, 2023
8e8f7f2
chore: increase home heading text line height
imfing Sep 2, 2023
3bcdf84
feat: details shortcode (#28)
imfing Sep 2, 2023
1713998
docs: add instruction to update theme
imfing Sep 2, 2023
4381f31
chore: make index page container wider (#30)
imfing Sep 3, 2023
e4c3623
ci: setup `actions/checkout@v3` to fetch complete Git history (#32)
hugo-sid Sep 3, 2023
939acc0
fix: add line break for steps shortcode example usage
Sep 5, 2023
6d00cb3
docs: add Logo, Favicon in Configurations (#37)
Welding-Torch Sep 5, 2023
61e41f2
chore: add contributing guide
imfing Sep 10, 2023
04e131f
chore: normalize headings (#42)
imfing Sep 10, 2023
237d890
ci: use dynamic repo and username for baseURL
imfing Sep 10, 2023
4553a8e
docs: add more instruction for favicon (#44)
imfing Sep 11, 2023
4a9a285
docs: add instruction for using markdown in tabs (#47)
imfing Sep 13, 2023
f70ba59
fix: use relative url for card link (#52)
imfing Sep 13, 2023
76ac694
feat: add backdrop blur for nav bar (#53)
imfing Sep 13, 2023
a184cfd
fix: use relURL only for link starts with slash (#54)
imfing Sep 13, 2023
84ac7fe
docs: add example for customizing css for inline code element (#55)
allocgator Sep 13, 2023
e9ea978
feat: enhance scrollbar style (#56)
imfing Sep 13, 2023
00d26de
fix: swap navbar logo width and height (#58)
remysheppard Sep 14, 2023
c799160
feat: add native image processing to cards (#63)
remysheppard Sep 18, 2023
b51bfa3
feat: support wide and full page modes (#69)
imfing Sep 20, 2023
4e63aa4
feat: add google analytics support (#70)
imfing Sep 21, 2023
c18d5de
ci: upgrade `actions/checkout` from `v3` to `v4` (#73)
hugo-sid Sep 21, 2023
9295781
fix: htmlUnescape page description (#71)
iju707 Sep 21, 2023
3632294
chore: update list page RSS template (#75)
imfing Sep 22, 2023
fdc30c6
fix: card image not displaying correctly (#77)
imfing Sep 23, 2023
0e9cf1a
fix: add integrity attribute to styles css preload tag (#83)
imfing Sep 23, 2023
b283227
feat: enhance image resolving (#82)
imfing Sep 23, 2023
79883dc
fix: process static image url correctly
imfing Sep 24, 2023
da5a087
fix: reverse order in blog list page (#87)
iju707 Sep 24, 2023
01f7e3a
docs: add showcase page (#86)
imfing Sep 24, 2023
3c4ede9
feat: add shortcodes to build Hextra home page (#90)
imfing Sep 26, 2023
6a19ac3
feat: add giscus support (#92)
iju707 Sep 26, 2023
adf5a11
fix: giscus theme and language display issues (#95)
imfing Sep 26, 2023
46dea71
docs: add giscus comments system (#96)
imfing Sep 26, 2023
ec02eb3
fix: search shortcut based on user platform (#101)
imfing Sep 27, 2023
2df3c56
fix: use div for copyright container in footer (#104)
imfing Sep 27, 2023
d1bed05
feat: Back To Top (#105)
remysheppard Oct 1, 2023
103faa2
chore: re-compile CSS
imfing Oct 1, 2023
e2d00fd
chore: add Swahili translation (#113)
owr79616 Oct 1, 2023
f4cea16
chore: spanish translations es.yaml (#114)
morfismo Oct 2, 2023
5768ed4
chore: add Portuguese translation (#119)
LITUATUI Oct 2, 2023
1b932f2
chore: add Vietnamese translation (#123)
thangisme Oct 3, 2023
924d850
fix: footer enable flag logic issue (#125)
imfing Oct 3, 2023
55ff819
fix: not-prose p tag inconsistent style (#126)
imfing Oct 3, 2023
b7558ac
feat: support empty prev/next pagination (#130)
iju707 Oct 4, 2023
8aa6439
feat: support custom primary saturation (#131)
imfing Oct 4, 2023
2bc4ed1
chore: add issue bug report template
imfing Oct 4, 2023
5f4c742
chore: add feature request issue template
imfing Oct 4, 2023
28a20e1
chore: add code copy button icons in js (#133)
imfing Oct 7, 2023
96c6ff0
chore(i18n): update zh-cn.yaml (#136)
naranyinyun Oct 11, 2023
cb09b7c
fix: skip scroll event if no backToTop element (#138)
imfing Oct 12, 2023
6cd4c55
fix: callout styling issue with markdown content (#141)
imfing Oct 12, 2023
e42d018
fix: add missing translations (#142)
iju707 Oct 16, 2023
6641d36
docs: add using Hextra as Git submodule (#137)
hugo-sid Oct 16, 2023
a31b46f
chore(i18n): add translations of Korean (#144)
iju707 Oct 18, 2023
88b0f1b
fix: broken "edit this page" link in windows (#143)
iju707 Oct 18, 2023
93cb788
feat(search): support different search index types (#145)
imfing Oct 21, 2023
97e6945
feat: add option to set default theme and hide toggle button (#146)
imfing Oct 21, 2023
e135f5a
docs: improve icon shortcode documentation (#149)
imfing Oct 25, 2023
8ad5a0c
chore(deps-dev): bump postcss from 8.4.27 to 8.4.31 (#150)
dependabot[bot] Oct 25, 2023
53b688f
chore(devcontainer): bump hugo to version v0.119.0
imfing Oct 25, 2023
cf7b669
docs: add zh-cn translation for home page (#151)
imfing Oct 25, 2023
b5ab4ec
chore(i18n): support translation for theme toggle (#152)
imfing Oct 26, 2023
ae01ac0
feat: improve Cards link behaviour (#153)
illlustr Oct 26, 2023
c6f4325
docs: update editURL description (#154)
rwxguo Oct 27, 2023
2d2e8ae
fix(style): remove padding for highlighted code (#157)
imfing Oct 27, 2023
141e0d8
fix(style): remove sidebar item extra padding and gap (#155)
imfing Oct 27, 2023
15ea31c
docs: add Deploy Site page (#158)
imfing Oct 27, 2023
34aecec
docs: fix some spelling mistakes (#159)
imfing Oct 27, 2023
9744b4d
feat: option to show tags for blog list (#161)
imfing Oct 28, 2023
7c902b4
chore(style): enhance not-prose elements styling (#163)
imfing Oct 29, 2023
0d629b6
docs: add instructions for configuring layouts (#167)
imfing Oct 29, 2023
50f1b08
chore(icons): add linkedin
imfing Oct 29, 2023
c0a1d5c
chore(i18n): add French translation (#166)
c2tz Oct 29, 2023
de1286c
i18n: Add language strings for Norwegian bokmål and Norwegian nynorsk…
bep Oct 30, 2023
e3f6069
chore: support `services.googleAnalytics.ID` (#173)
imfing Oct 30, 2023
9d68f7c
docs: minor update deploy site doc
imfing Oct 31, 2023
56a87e5
i18n: update pt.yaml (#174)
LITUATUI Oct 31, 2023
433beed
fix: plainify Toc headings (#178)
imfing Oct 31, 2023
10ba553
i18n: refactor translations for docs site (#181)
imfing Nov 1, 2023
7be079f
i18n: update es.yaml (#180)
tehuel Nov 1, 2023
088e9f7
fix(style): add backdrop to code copy button (#185)
imfing Nov 2, 2023
363c8c9
fix: scroll bug due to incorrect toggle state (#186)
imfing Nov 3, 2023
defc9bc
fix(docs): showcase starter template URL (#189)
allocgator Nov 5, 2023
678f0b8
fix: htmlUnescape toc title (#190)
imfing Nov 5, 2023
23c84e1
fix: navbar url for multi-lang site (#193)
imfing Nov 10, 2023
4ea1816
fix: correctly set editURL in front-matter (#195)
imfing Nov 10, 2023
c0a1bc3
fix: ensure relref in search index is properly rendered (#196)
imfing Nov 10, 2023
21b0acd
chore: improve cards compatibility with steps (#197)
imfing Nov 10, 2023
8801a04
feat: add `include` shortcode (#198)
imfing Nov 11, 2023
c2d7ba8
fix: code copy issue for code blocks in shortcode (#201)
imfing Nov 12, 2023
456c969
typo: fix typos in sidebar.html (#203)
Nov 12, 2023
d675d3b
feat: support separator in sidebar (#199)
imfing Nov 12, 2023
27c976b
feat: display author avatar images in blog post (#204)
imfing Nov 17, 2023
64ac97b
feat: allow overriding poweredBy in footer (#207)
imfing Nov 17, 2023
d58a8b5
feat: exclude page from sidebar (#209)
imfing Nov 17, 2023
aad68d8
chore(style): better footer logo alignment (#212)
c2tz Nov 18, 2023
35c733b
chore: increase time for "copied" animation duration (#214)
c2tz Nov 21, 2023
7f0a35a
chore: add Osuny to showcase (#218)
arnaudlevy Nov 21, 2023
7772313
docs: correct editURL config instruction (#215)
longlin10086 Nov 21, 2023
1f9e7c8
chore: add Codeberg icon (#244)
verbumfeit Jan 8, 2024
fd9a87a
fix(docs): add editURL.enable = true (#245)
ytjohn Jan 8, 2024
10f1d85
docs: update zh-cn translation (#236)
naranyinyun Jan 8, 2024
f5e4283
chore: add rel="me" attribute to Mastodon navbar icon (#243)
verbumfeit Jan 8, 2024
09e9f52
chore(i18n): add Czech translation (#246)
pavel-francirek Jan 10, 2024
fc964f1
showcase: clever cloud documentation (#262)
juliamrch Jan 19, 2024
728fe21
chore: add canonical URL to head template (#261)
davlgd Jan 19, 2024
ff8f253
fix: accurate `editURL` resolution in translated sites (#264)
imfing Jan 21, 2024
fbe1aac
i18n: add german translation (#271)
pxlfrk Feb 1, 2024
cb274c8
feat: add canonical to head.html (#269)
mafendi Feb 1, 2024
c630805
fix: details toggle display issue (#273)
imfing Feb 2, 2024
7191e25
fix: set top margin to zero for nested list (#276)
imfing Feb 3, 2024
716af59
fix: clear top margin for nested list recursively (#280)
imfing Feb 6, 2024
2d8f42f
chore: add gitlab icon to icons.yaml (#285)
vinnciane Feb 13, 2024
6bd2cfb
chore(i18n): add Persian translation (#294)
Goudarz Feb 17, 2024
10907cd
fix: resolve padding issue for code blocks with filenames but without…
imfing Feb 17, 2024
9995617
docs(i18n): add Persian translation and support rtl `languageDirectio…
Goudarz Feb 19, 2024
8e6cc68
chore: add BitBucket icon (#303)
inttter Feb 20, 2024
b1f49c0
fix: RTL chevron rotation (#302)
Goudarz Feb 20, 2024
98546e6
chore: add slack icon
imfing Feb 20, 2024
0e312d3
docs: update GitHub Action deploy template
imfing Feb 20, 2024
5c7303b
feat: add `hx-` prefix to Hextra Tailwind CSS classes (#300)
imfing Feb 20, 2024
07b67ff
fix: module imports should be array in hugo config
imfing Mar 1, 2024
fba95d5
chore(i18n): add Romanian translation (#313)
inttter Mar 5, 2024
22d4737
fix: RTL `Steps` `FileTree`, feat: Add Persian number for `ol` label …
Goudarz Mar 5, 2024
c634cb8
feat: support customize flexsearch tokenize option (#319)
loenvom Mar 17, 2024
29e70c8
fix: code copy button is invisible when hover (#323)
imfing Mar 18, 2024
935ff7f
feat: add title utility to get page or section title (#325)
imfing Mar 19, 2024
741a640
fix: update dead link for Porter
imfing Mar 20, 2024
d8351aa
feat: allow enable/disable code block copy button (#331)
imfing Mar 28, 2024
ef536af
fix: typo in code-copy.css
imfing Mar 28, 2024
a5b59b6
fix: indented callouts rendered incorrectly (#338)
imfing Mar 30, 2024
24fb13b
refactor: extract card shortcode to partial (#339)
imfing Mar 31, 2024
5080877
feat: configurable cols for feature-grid shortcode (#342)
imfing Mar 31, 2024
ab9e40e
chore: add quicklink script to head in doc site
imfing Mar 31, 2024
1936b46
docs: add more projects to showcase
imfing Mar 31, 2024
0d6cbba
feat: add styles for definition list (#344)
imfing Mar 31, 2024
9f2b67c
feat: pdf shortcode (unstable) (#345)
imfing Apr 1, 2024
5103da4
chore: improve search bar shortcut display (#346)
imfing Apr 1, 2024
6d4bbac
feat: support sort blog post list page (#348)
imfing Apr 2, 2024
8e98791
chore: bump hugo version to 0.124.1 in devcontainer
imfing Apr 4, 2024
781e700
chore: add homebrew to devcontainer
imfing Apr 4, 2024
2f127a2
chore: revert adding homebrew to devcontainer
imfing Apr 4, 2024
e4cdabf
docs(i18n): add zh-cn translation of RSS button (#353)
kowyo Apr 6, 2024
be7e0d3
fix: js scripts not in body element (#356)
dogweather Apr 11, 2024
6a9117a
chore(deps): bump npm package versions (#361)
imfing Apr 17, 2024
bf38320
chore: 2023 -> 2024
imfing Apr 17, 2024
3503b4c
chore(deps): add taskfile and bump assets lib versions (#362)
imfing Apr 17, 2024
f98fa8c
ci: use actions/configure-pages and bump hugo version
imfing Apr 17, 2024
81720c7
docs: update zh-cn translation (#365)
naranyinyun Apr 21, 2024
80a1692
docs: fix deploy-site zh-cn lang filename
imfing Apr 23, 2024
1985255
docs: update zh-cn sidebar titles
imfing Apr 23, 2024
4a7ab16
docs: fix deploy site title
imfing Apr 23, 2024
234fd39
docs: fix deploy-site zh-cn lang filename (#371)
kowyo Apr 24, 2024
25da2ba
chore: add i18n links in README (#374)
longlin10086 Apr 28, 2024
ba7707d
docs: add showcase - HITSZ OpenAuto (#373)
MaxwellJay256 Apr 28, 2024
daaf281
i18n: add Dutch translation (#383)
sbroekhoven May 6, 2024
4eca719
docs(fix): correct a mistake in markdown guide (#394)
lulunac27a May 21, 2024
d43ac66
feat: add hextra hero-container shortcode (#389)
fmunteanu May 23, 2024
d3f251b
chore(showcase): add AXIVO docs (#400)
fmunteanu May 25, 2024
857c4e4
chore: update AXIVO docs image format (#402)
fmunteanu May 26, 2024
b2bc4f7
fix: use `hugo.IsMultilingual` to replace deprecated `.Site.IsMultiLi…
deining May 29, 2024
db92de0
i18n: add Ukrainian translation (#403)
sergpryimachuk May 29, 2024
6ee6dde
i18n: add Hebrew translation (#405)
ShaharNaveh May 29, 2024
3cba6b9
feat: add support for `breadcrumbs` param in front matter for showing…
ggwicz Jun 2, 2024
1313415
feat: add customize flexsearch tokenize feature instruction to docs (…
loenvom Jun 2, 2024
56f6f19
docs: list code block copy button config (#412)
yuri1969 Jul 7, 2024
e3b5826
fix: properly handle tabs overflow (#422)
imfing Jul 10, 2024
d2d2a62
docs: fix typo in chinese doc (#430)
jinzhongjia Aug 11, 2024
0986b9e
docs: add missing Markdown syntax examples (#415)
yuri1969 Aug 11, 2024
5c6ed19
chore: bump npm package versions
imfing Aug 11, 2024
9c0ba06
chore: bump hugo versions
imfing Aug 11, 2024
f439e6b
feat: add tag support for card shortcode (#427)
juliamrch Aug 11, 2024
e83c11f
chore: improve tags styling on card (#431)
imfing Aug 11, 2024
852a07b
fix: remove deprecated google analytics reference in head.html (#435)
eskopp Aug 18, 2024
2863a3a
fix: remove deprecated site.GoogleAnalytics (#438)
imfing Aug 18, 2024
526be88
fix: tabs styling in steps shortcode (#440)
imfing Aug 18, 2024
d5a96ac
Replace hugo.IsMultilingual with site.Param
pka Sep 4, 2024
41c837e
Replace urls.JoinPath with path.Join
pka Sep 3, 2024
ce3b995
Set min_version to 0.111.0
pka Sep 4, 2024
e5debcf
Add 'shortbread-website/themes/hextra/' from commit 'ce3b99532a2b3127…
pka Dec 2, 2024
9657223
Replace hugo-theme-docdock with hextra
pka Sep 4, 2024
7a650d3
Customize theme
pka Sep 4, 2024
f7addf2
Squashed 'shortbread-website/themes/hextra/' changes from ce3b995..ca…
pka Dec 2, 2024
91628bd
Merge commit 'f7addf28caf18d0ad1d016aa74261c51e5aef15c' into HEAD
pka Dec 2, 2024
8359af7
Improve font styles for Chrome
pka Sep 24, 2024
baa32c3
Self-host fonts
pka Nov 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
20 changes: 20 additions & 0 deletions shortbread-website/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Shortbread website

The website is created using [Hugo](https://gohugo.io/).

## Theme

The theme is based on [Hextra](https://imfing.github.io/hextra/docs/).

## Development

```
hugo serve
```

Update theme:

```
git remote add hextra [email protected]:pka/hextra.git
git subtree pull --prefix=shortbread-website/themes/hextra hextra backport-debian --squash
```
114 changes: 114 additions & 0 deletions shortbread-website/assets/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
@font-face {
font-family: "Lato";
src: url("/fonts/Lato/Lato-Regular.ttf") format("truetype");
font-weight: 400;
font-style: normal;
}

@font-face {
font-family: "Lato";
src: url("/fonts/Lato/Lato-Italic.ttf") format("truetype");
font-weight: 400;
font-style: italic;
}

@font-face {
font-family: "League Gothic";
src: url("/fonts/League_Gothic/LeagueGothic-Regular-VariableFont_wdth.ttf")
format("truetype");
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
font-variation-settings: "wdth" 100;
}

:root {
font-family: "Lato", sans-serif;
font-size: 1.1rem;
--primary-hue: 48deg;
--primary-saturation: 93%;
}

body {
background-color: rgb(255 248 219);
}

/* Title bar */
.nav-container-blur {
background-color: hsl(48deg 93% 45% / 1);
}
.nav-container .hx-font-extrabold {
font-family: "League Gothic", sans-serif;
font-size: 1.55em;
font-weight: 400;
}

/* Menu hover background */
aside.sidebar-container .hover\:hx-bg-gray-100:hover {
background-color: hsl(48deg 93% 85% / 1);
}

/* background for theme switcher */
html:not(.dark) aside.sidebar-container .hx-sticky {
background-color: rgb(255 248 219);
--tw-shadow: none;
}

/* background for "Edit this page" */
nav .hx-bg-white {
background-color: rgb(255 248 219);
--tw-shadow: none;
}

.content h1,
h2,
h3 {
font-family: "League Gothic", sans-serif;
}

.content h1 {
font-size: 3.77em;
font-weight: 400;
letter-spacing: normal;
}
.content h2 {
font-size: 2.11em;
font-weight: 400;
letter-spacing: normal;
}
.content h3 {
font-size: 1.55em;
font-weight: 400;
letter-spacing: normal;
}

/* Table rows */
.content
:where(table):not(
:where(
.hextra-code-block table,
[class~="not-prose"],
[class~="not-prose"] *
)
)
tr:nth-child(2n) {
background-color: hsl(48deg 93% 39% / 0.05);
}

.example-images img {
display: initial;
width: 300px;
}

html:not(.dark) footer.hextra-footer.hx-bg-gray-100 {
background-color: hsl(48deg 93% 45% / 1);
}

/* Reduce footer height */
footer .hx-py-12 {
padding-top: 1rem;
padding-bottom: 1rem;
}
footer .hx-mt-6 {
margin-top: 0;
}
78 changes: 64 additions & 14 deletions shortbread-website/config.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,72 @@
baseURL = ""
languageCode = "en-us"
baseURL = "https://shortbread-tiles.org/"
title = "Shortbread"
theme = "hugo-theme-docdock"
pygmentsCodeFences = true
pygmentsStyle = "monokailight"

defaultContentLanguage = "en"
defaultContentLanguageInSubdir= false
enableMissingTranslationPlaceholders = false
theme = "hextra"
enableRobotsTXT = false
enableGitInfo = true
enableInlineShortcodes = true

[outputs]
home = [ "HTML" ]
page = [ "HTML" ]
section = [ "HTML", "RSS" ]

[languages.en]
languageName = "English"
weight = 1
title = "Shortbread"

[markup.goldmark.renderer]
unsafe = true

[markup.highlight]
noClasses = false

[[menu.main]]
name = "Search"
weight = 5

[menu.main.params]
type = "search"

[params]
ordersectionsby = "weight"
description = "A free & simple Vector Tile schema for OpenStreetMap"
displayUpdatedDate = false
dateFormat = "January 2, 2006"

[outputs]
home = [ "HTML", "RSS", "JSON" ]
[params.navbar]
displayTitle = true
displayLogo = true
width = "normal"

[markup.goldmark.renderer]
unsafe = true # Allow HTML in Markdown
[params.navbar.logo]
path = "/shortbread_logo.svg"
dark = "/shortbread_logo.svg"

[params.page]
width = "normal"

[params.theme]
default = "light"
displayToggle = false

[params.footer]
enable = true
displayCopyright = true
displayPoweredBy = false
width = "normal"

[params.search]
enable = true
type = "flexsearch"

[params.search.flexsearch]
index = "content"
tokenize = "forward"

[params.editURL]
enable = true
base = "https://github.com/shortbread-tiles/shortbread-docs/edit/main/shortbread-website/content"

[params.highlight.copy]
enable = true
display = "hover"
1 change: 0 additions & 1 deletion shortbread-website/content/_footer.md

This file was deleted.

7 changes: 6 additions & 1 deletion shortbread-website/content/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Shortbread Tiles
+++
title = "Shortbread Tiles"
toc = false
cascade.breadcrumbs = false
cascade.type = "docs"
+++

## About

Expand Down
3 changes: 1 addition & 2 deletions shortbread-website/content/copyright/_index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
+++
title = "Copyright & License"
toc = false
weight = 1
+++

# Copyright

We take the position that this schema is not creative enough to be a copyrightable
work.

Expand Down
9 changes: 5 additions & 4 deletions shortbread-website/content/imprint.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
---

# Imprint
+++
title = "Imprint"
toc = false
sidebar.exclude = true
+++

This web site is run by

Expand Down
2 changes: 1 addition & 1 deletion shortbread-website/content/publishing/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Publishing Shortbread Maps"
description = "Publishing maps with Shortbread vector tiles"
weight = 6
weight = 7
+++

## Required resources for Shortbread maps
Expand Down
2 changes: 1 addition & 1 deletion shortbread-website/content/schema/1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
title = "Vector Tile Schema 1.0"
linkTitle = "1.0"
description = "This page describes the layers of the Shortbread vector schema and their contents as of version 1.0"
toc = true
+++

{{% toc /%}}

## About

Expand Down
1 change: 0 additions & 1 deletion shortbread-website/content/schema/versioning.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
+++
draft= false
title = "Schema Versioning Policy"
linkTitle = "Versioning"
description = "This page describes the versioning policy of the Shortbread schema"
Expand Down
1 change: 0 additions & 1 deletion shortbread-website/content/styles/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
title = "Map Styles"
description = "This page gives an overview about available open source maps styles for Shortbread vector tiles"
weight = 3
toc = false
+++

## Web mapping libraries
Expand Down
1 change: 1 addition & 0 deletions shortbread-website/i18n/en.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
copyright: "[Imprint](/imprint) | Map data by [OpenStreetMap contributors](https://www.openstreetmap.org/copyright) published under Open Database License"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added shortbread-website/static/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added shortbread-website/static/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added shortbread-website/static/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions shortbread-website/static/favicon-dark.svg
Binary file added shortbread-website/static/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions shortbread-website/static/favicon.svg
Binary file not shown.
Binary file not shown.
93 changes: 93 additions & 0 deletions shortbread-website/static/fonts/Lato/OFL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
Copyright (c) 2010-2014 by tyPoland Lukasz Dziedzic ([email protected]) with Reserved Font Name "Lato"

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://openfontlicense.org


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Binary file not shown.
Loading