Skip to content

Commit

Permalink
Remove mSupply header
Browse files Browse the repository at this point in the history
  • Loading branch information
craigdrown committed Oct 6, 2023
1 parent 0918159 commit 7c2c6a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 41 deletions.
42 changes: 4 additions & 38 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ build_search_index = true
theme = "adidoks"

[languages.en]
title="mSupply"
title="Conforma"
build_search_index = true

[languages.en.translations]
Expand All @@ -19,15 +19,15 @@ search_placeholder = "Search docs..."

[languages.es.translations]
summary = "Mi blog"
title = "mSupply.es"
title = "Conforma.es"
flag="🇪🇸"
TOCtitle="En esta pagina"
search_placeholder = "Buscar documentos..."

[languages.es]
generate_feed = true # there will be a feed for Spanish content
build_search_index = true
title="mSupply 🇪🇸"
title="Conforma 🇪🇸"

[markdown]
# Whether to do syntax highlighting
Expand Down Expand Up @@ -65,39 +65,5 @@ docs_repo = "https://github.com/openmsupply/mSupply_docs"
repo_branch = "main"

# Menu items
[[extra.menu.main]]
name = "Open mSupply (Desktop+Mobile)"
section = "docs"
url = "/docs/introduction/introduction"
weight = 10

[[extra.menu.main]]
name = "Coldchain"
section = "coldchain"
url = "/coldchain/introduction"
weight = 20

[[extra.menu.main]]
name = "Dashboard"
section = "dashboard"
url = "/dashboard/introduction"
weight = 30

[[extra.menu.main]]
name = "Mobile (Legacy)"
section = "mobile"
url = "/mobile/introduction/introduction"
weight = 40

[[extra.menu.main]]
name = "Health Supply Hub"
section = "health-supply-hub"
url = "/health-supply-hub/introduction"
weight = 40

[[extra.menu.social]]
name = "Twitter"
pre = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-twitter"><path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path></svg>'
url = "https://twitter.com/mSupply"
weight = 10


3 changes: 0 additions & 3 deletions themes/adidoks/templates/macros/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@
<li class="nav-item">
<a class="nav-link" href="{{ get_url(path="docs", trailing_slash=true) | safe }}">Docs</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ get_url(path="blog", trailing_slash=true) | safe }}">Blog</a>
</li>
{% endif %}
</ul>
<div class="break order-6 d-md-none"></div>
Expand Down

0 comments on commit 7c2c6a1

Please sign in to comment.