Skip to content

Commit

Permalink
shorten and polish landing page:
Browse files Browse the repository at this point in the history
- link "learn" to the wiki (nicer than the /documentation page.
- move locutus below downloads
- fix link to second fold
- comment out the icons with more info (the links are not that appealing)
- reduce number of news icons to 3 for consistency with first three icons
  • Loading branch information
ArneBab committed Jan 13, 2025
1 parent d4ea3ff commit 93b56dc
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions theme/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,8 @@
</nav>
<header>
<h1>Hyphanet</h1>
<p>{% trans %}Hyphanet is a peer-to-peer platform for <br /><strong>censorship-resistant</strong> and <strong>privacy-respecting</strong><br />publishing and communication.{% endtrans %}</p>
<p>{% trans %}Hyphanet is peer-to-peer network for <br /><strong>censorship-resistant</strong> and <strong>privacy-respecting</strong><br />publishing and communication.{% endtrans %}</p>
<h2 id="rename", style="text-align: center; font-family: 'PT Sans','Lucida Sans','Segoe UI','Calibri',sans-serif; color: #f3f6f6;">{% trans %}The original Freenet.{% endtrans %}</h2>
<div style="text-align: center">{% trans %}Looking for <a href="https://freenet.org/">Locutus</a>?<br/>It is now named Freenet; the team of the original Freenet continues development as Hyphanet.<br/><a href="{{ BASE_URL }}/freenet-renamed-to-hyphanet.html">Read more</a>{% endtrans %}</div>
</header>
<section id="actions">
<a href="{{ BASE_URL }}/pages/download.html">
Expand All @@ -63,7 +62,7 @@ <h2>{% trans %}Download{% endtrans %}</h2>
</div>
</a>

<a href="{{ BASE_URL }}/pages/documentation.html">
<a href="https://github.com/hyphanet/wiki/wiki/Using-Freenet#browsing--communicating-on-freenet">
<div>
<h2>{% trans %}Learn{% endtrans %}</h2>
<p>{% trans %}Protect your privacy{% endtrans %}</p>
Expand All @@ -76,8 +75,9 @@ <h2>{% trans %}Contribute{% endtrans %}</h2>
</div>
</a>
</section>
<div style="text-align: center">{% trans %}Looking for <a href="https://freenet.org/">Locutus</a>?<br/>It is now named Freenet; the team of the original Freenet continues development as Hyphanet. See <a href="{{ BASE_URL }}/freenet-renamed-to-hyphanet.html">Freenet renamed to Hyphanet</a>{% endtrans %}</div>

<a href="#whatsfreenet" id="more">{% trans %}More{% endtrans %}</a>
<a href="#features" id="more">{% trans %}More{% endtrans %}</a>
</div>
<div>

Expand All @@ -89,6 +89,7 @@ <h2>{% trans %}Reclaim Your Privacy!{% endtrans %}</h2>
<p>{% trans %}Lots of additional information about Hyphanet and its history is available <a href="https://en.wikipedia.org/wiki/Freenet">on Wikipedia</a>.{% endtrans %}</p>
<!-- requirement for SignPath code signing: keep this -->
<p><a href="/pages/download.html#code-signing-policy">Code Signing Policy</a></p>
<!--
<ul>
<li>
<a href="http://freesocial.draketo.de/wot_en.html">
Expand Down Expand Up @@ -122,15 +123,16 @@ <h3>{% trans %}Platform{% endtrans %}</h3>
</div>
</a>
</li>
</UL>
</ul>
-->
</section>

<section id="news">
<h2>{% trans %}What's New{% endtrans %}</h2>

<ol>
{% for post in articles_page.object_list %}
{%- if loop.index <= 4 %}
{%- if loop.index <= 3 %}
<li>
<a style="display:inline" href="{{ post.url }}"><h3>{{ post.title | escape }}</h3></a>
<p class="time">{{ post.date | strftime('%Y-%m-%d') }}</p>
Expand Down

0 comments on commit 93b56dc

Please sign in to comment.