Skip to content

Commit

Permalink
Added new FAQ entries and updated table of contents shortcode.
Browse files Browse the repository at this point in the history
  • Loading branch information
sanity committed Jun 25, 2024
1 parent 0ac9d72 commit 947e208
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
15 changes: 12 additions & 3 deletions content/faq/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,18 @@ draft: false

{{< toc >}}

{{< toc >}}

# What is Freenet? {#what-is-freenet}
- [What is Freenet?](#what-is-freenet)
- [How does Freenet work?](#how-does-freenet-work)
- [What is the project's history?](#what-is-the-projects-history)
- [How do the previous and current versions of Freenet differ?](#how-do-the-previous-and-current-versions-of-freenet-differ)
- [Will the new Freenet be backwards compatible with the old Freenet?](#will-the-new-freenet-be-backwards-compatible-with-the-old-freenet)
- [Why was Freenet rearchitected and rebranded?](#faq-5)
- [What are the key components of Freenet's architecture?](#what-are-the-key-components-of-freenets-architecture)
- [Who is behind Freenet?](#who-is-behind-freenet)
- [What is the status of Freenet?](#what-is-the-status-of-freenet)
- [Can anyone use Freenet?](#can-anyone-use-freenet)
- [Can I follow Freenet on social media?](#can-i-follow-freenet-on-social-media)
- [How can I financially support Freenet development?](#how-can-i-financially-support-freenet-development)

Freenet is a fully decentralized, peer-to-peer network and a drop-in
replacement for the world wide web. It operates as a global shared
Expand Down
11 changes: 0 additions & 11 deletions themes/freenet/layouts/shortcodes/toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,3 @@
{{ end }}
{{ end }}
</ul>
{{ $headings := .Page.Content | markdownify | plainify | findRE "(?m)^# (.+)$" }}
<ul>
{{ range $headings }}
{{ $heading := index . 1 }}
{{ if eq $heading "Why was Freenet rearchitected and rebranded?" }}
<li><a href="#faq-5">{{ $heading }}</a></li>
{{ else }}
<li><a href="#{{ $heading | urlize }}">{{ $heading }}</a></li>
{{ end }}
{{ end }}
</ul>

0 comments on commit 947e208

Please sign in to comment.