disable toc

This commit is contained in:
gws 2024-11-10 15:23:31 +01:00
parent 0a2fd4fb86
commit 8eb64523d0
6 changed files with 99 additions and 105 deletions

View file

@ -1,70 +1,26 @@
+++
sort_by = "weight"
title = "My Services"
title = "Our Services"
[extra]
intro = "Need help with Product development or IT? <br> You have come to right place"
+++
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec ut magna vitae libero
accumsan pretium vitae et massa. Morbi dolor est, ullamcorper eu ante vitae, scelerisque
# Software Development
## Native Apps
I make apps for my clients on the fallowing plattforms:
### platforms
- Andriod
- Linux
- macOS
- windows
## Embedded software/firmware
I can help you make your tiny devices go beep boop...
- IoT
- RasberryPi
- stm32
- nrf58
- bluetooth
## Backend Development
- Restfull API
- Database integration
- Python
- Rust
## Web Frontend
I have a solid grasp on Javascript, html and css.
My speciality is wasm, a techonligy that is perfect for frontends that need preform heavy computation.
Wasm is also very usefull for crossplatfrom projects where browsers is one of the targets.
I can help you with:
- landing pages
- E-commerce
- 3D animations
- WASM
## 3D Models and Graphics
Lorem Ipsum...
- bevy
- glsl
- wgls
- sdf
- trimesh
- csg
- 3d scanned data processing
bibendum ligula. Etiam sed lobortis quam. Pellentesque habitant morbi tristique
senectus et netus et malesuada fames ac turpis egestas. Donec ac ullamcorper quam.
# Product Development
erat ut pellentesque. Etiam nec orci odio. Donec mattis luctus libero ac gravida. Mauris
volutpat risus in interdum aliquam. Integer laoreet ex et risus pharetra, ut porttitor
turpis tincidunt.
- ## [System Engineering](product-dev#system)
- ## [Component Sourcing](product-dev#component)
- ## [PCB Design](product-dev#pcb)
@ -75,20 +31,4 @@ Lorem Ipsum...
# IT
## self hosting vs managed hosting
I offer both...
## office needs
- collaboration platform
- teams chat
- cloud storage
- email
- internal web
## Servers
- Databases
- gp-servers
- backups
- nas
lorem ipusm ...

View file

@ -4,11 +4,19 @@ description = "IT Services and Consulting"
weight = 3
+++
## TODO
## self hosting vs managed hosting
```rust
fn main() {
println!("Hello, World!");
}
```
I offer both...
## office needs
- collaboration platform
- teams chat
- cloud storage
- email
- internal web
## Servers
- Databases
- gp-servers
- backups
- nas

View file

@ -4,7 +4,57 @@ description = "Software Development Consulting"
weight = 1
+++
## TODO
## Native Apps
I make apps for my clients on the fallowing plattforms:
### platforms
- Andriod
- Linux
- macOS
- windows
## Embedded software/firmware
I can help you make your tiny devices go beep boop...
- IoT
- RasberryPi
- stm32
- nrf58
- bluetooth
## Backend Development
- Restfull API
- Database integration
- Python
- Rust
## Web Frontend
I have a solid grasp on Javascript, html and css.
My speciality is wasm, a techonligy that is perfect for frontends that need preform heavy computation.
Wasm is also very usefull for crossplatfrom projects where browsers is one of the targets.
I can help you with:
- landing pages
- E-commerce
- 3D animations
- WASM
## 3D Models and Graphics
Lorem Ipsum...
- bevy
- glsl
- wgls
- sdf
- trimesh
- csg
- 3d scanned data processing
```rust
fn main() {

View file

@ -65,4 +65,24 @@
<!-- if i am <:checked/> -->
</nav>
{% endmacro render_header %}
{% endmacro render_header %}
{% macro render_toc(toc) %}
<div class="toc">
<div class="toc-sticky">
{% for h in toc %}
<div class="toc-item">
<a class="subtext" href="{{h.permalink | safe}}">{{ h.title }}</a>
</div>
{% if h.children %}
{% for h2 in h.children %}
<div class="toc-item-child">
<a class="subtext" href="{{h2.permalink | safe}}"><small>- {{ h2.title }}</small></a>
</div>
{% endfor %}
{% endif %}
{% endfor %}
</div>
</div>
{% endmacro render_toc %}

View file

@ -94,32 +94,6 @@
{% block toc %}
{% if section.toc %}
{% set toc = section.toc %}
{% elif page.toc %}
{% set toc = page.toc %}
{% endif %}
{% if toc %}
{% if page.extra.disable_toc %}
{% else %}
<div class="toc">
<div class="toc-sticky">
{% for h in toc %}
<div class="toc-item">
<a class="subtext" href="{{h.permalink | safe}}">{{ h.title }}</a>
</div>
{% if h.children %}
{% for h2 in h.children %}
<div class="toc-item-child">
<a class="subtext" href="{{h2.permalink | safe}}"><small>- {{ h2.title }}</small></a>
</div>
{% endfor %}
{% endif %}
{% endfor %}
</div>
</div>
{% endif %}
{% endif %}
{% endblock toc %}

View file

@ -13,8 +13,10 @@
{{ macros::render_header(path=path) }}
</header>
{% endblock header %}
{% block content %}
<div class="margin-left:20vw; margin-right: 20vw;">
<div class="heading-text">{{ section.title }}</div>