mirror of https://github.com/onweru/compose.git

weru
23.13.2023 797bdd2f9e7175635dffcc7402fa72021e8e82a7
edit content

Signed-off-by: weru <fromweru@gmail.com>
3 files modified
15 ■■■■ changed files
exampleSite/content/docs/clarity/customize.md 2 ●●● patch | view | raw | blame | history
exampleSite/content/docs/compose/install-theme.md 4 ●●●● patch | view | raw | blame | history
exampleSite/content/docs/compose/search.md 9 ●●●●● patch | view | raw | blame | history
exampleSite/content/docs/clarity/customize.md
@@ -118,7 +118,7 @@
**note:** if you do NOT want any translations (thus removing the translations menu entry), then you must not have any translations.
In the exampleSite that's as easy as removing the extra translations from the `config/_default/...` or executing this onliner:
```
```shell
sed '/^\[pt]$/,$d' -i config/_default/languages.toml   &&   rm config/_default/menus/menu.pt.toml
```
exampleSite/content/docs/compose/install-theme.md
@@ -23,8 +23,8 @@
This option enables you to load compose theme as a hugo module. First things first, ensure you have `go` binary [installed on your machine](https://golang.org/doc/install).
```bash
git clone https://github.com/onweru/compose/
```shell
$ git clone https://github.com/onweru/compose/
cd compose/exampleSite/
hugo server
```
exampleSite/content/docs/compose/search.md
@@ -31,15 +31,6 @@
Use the `i18n` files to do so.
<!-- ### scoped search
#### Searching within a specific/current page
I think the other 3 are not only related, but can be for the most part be achieved using the good old-fashioned CTRL/CMD + F.
(1) multilingual sites
(2) blog/events sections that are separate from the docs section -->
### What is a valid search query
A valid search query must be long enough. If the search query can be cast as a float, then it only need contain one or more characters.