From 797bdd2f9e7175635dffcc7402fa72021e8e82a7 Mon Sep 17 00:00:00 2001 From: weru <fromweru@gmail.com> Date: Mon, 23 Jan 2023 16:13:02 +0000 Subject: [PATCH] edit content --- exampleSite/content/docs/compose/install-theme.md | 4 ++-- exampleSite/content/docs/clarity/customize.md | 2 +- exampleSite/content/docs/compose/search.md | 9 --------- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/exampleSite/content/docs/clarity/customize.md b/exampleSite/content/docs/clarity/customize.md index 3f554a9..bc79067 100644 --- a/exampleSite/content/docs/clarity/customize.md +++ b/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 ``` diff --git a/exampleSite/content/docs/compose/install-theme.md b/exampleSite/content/docs/compose/install-theme.md index 9cf0c06..109a5d3 100755 --- a/exampleSite/content/docs/compose/install-theme.md +++ b/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 ``` diff --git a/exampleSite/content/docs/compose/search.md b/exampleSite/content/docs/compose/search.md index 3bacfdf..96d55d3 100644 --- a/exampleSite/content/docs/compose/search.md +++ b/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. -- Gitblit v1.10.0