landing tweaks

This commit is contained in:
facundoolano 2024-03-05 19:27:43 -03:00
parent 6f480dee98
commit 0d62e10a02
3 changed files with 21 additions and 16 deletions

View file

@ -6,7 +6,7 @@
<a {% if section == "blog" %}style="font-weight:bold"{% endif %} href="/blog/">devlog</a> <a {% if section == "blog" %}style="font-weight:bold"{% endif %} href="/blog/">devlog</a>
<div class="nav-right hidden-mobile"> <div class="nav-right hidden-mobile">
<a href="https://github.com/facundoolano/jorge">github</a> <a href="https://github.com/facundoolano/jorge">source</a>
<a href="https://github.com/facundoolano/jorge/releases/latest">download</a> <a href="https://github.com/facundoolano/jorge/releases/latest">download</a>
</div> </div>
</nav> </nav>

View file

@ -307,3 +307,10 @@ code.index-sample pre {
text-align: left; text-align: left;
padding: 0 0 0 1rem; padding: 0 0 0 1rem;
} }
.landing h2 {
border-bottom: 1px solid lightgray
}
.landing h2 a:hover {
text-decoration: none;
}

View file

@ -2,7 +2,7 @@
layout: base layout: base
--- ---
<div class="content"> <div class="content landing">
<br/> <br/>
<br/> <br/>
<center> <center>
@ -27,32 +27,30 @@ $ jorge serve
<span class="silver">serving at http://localhost:4001</span> <span class="silver">serving at http://localhost:4001</span>
</pre> </pre>
</code> </code>
<p>Inspired by <a href="https://jekyllrb.com/">Jekyll</a>, written in Go, with <a href="https://orgmode.org">org-mode</a> and markdown support.</p> <p>Inspired by <a href="https://jekyllrb.com/">Jekyll</a>, written in Go, with <a href="https://orgmode.org">org-mode</a> and markdown support.
<br/>
<br/>
<a href="https://github.com/facundoolano/jorge/releases/latest">Download</a>
-
<a href="https://github.com/facundoolano/jorge">Source</a>
</p>
</center> </center>
<br/> <br/>
<br/> <h2 id="tutorial"><a href="/tutorial" class="title">Tutorial</a></h2>
<nav>
<div class="nav-right hidden-mobile">
<a href="https://github.com/facundoolano/jorge">github</a>
<a href="https://github.com/facundoolano/jorge/releases/latest">download</a>
</div>
</nav>
<h2><a href="/tutorial" class="title" id="tutorial">Tutorial</a></h2>
<ol start='0'> <ol start='0'>
{% for page in site.pages|where:"dir", "/tutorial" %} {% for page in site.pages|where:"dir", "/tutorial" %}
<li> <li>
<a class="title" href="{{ page.url }}">{{ page.title }}{%if page.subtitle%}: {{page.subtitle|downcase}}{%endif%}</a> <a class="title" href="{{ page.url }}">{{ page.title }}{%if page.subtitle%}: {{page.subtitle|downcase}}{%endif%}</a>
</li> </li>
{% endfor %} {% endfor %}
</ol> </ol>
<br/>
<h2><a href="/blog" class="title" id="devlog">Devlog</a></h2> <h2 id="devlog"><a class="title" href="/blog">Devlog</a></h2>
{% for post in site.posts | reverse %} {% for post in site.posts | reverse %}
{% include post_preview.html %} {% include post_preview.html %}
{% endfor %} {% endfor %}
<p>See the full <a href="/blog">blog archive</a> or subscribe to the <a href="/feed.xml">feed</a>.</p> <p>Or subscribe to the <a href="/feed.xml">feed</a>.</p>
</div> </div>