~yaroslav/saucesource.cc

ref: 1e8733bca9d3158950d319f248cec071764ddd0e saucesource.cc/templates/index.html -rw-r--r-- 1.7 KiB
1e8733bcYaroslav de la Peña Smirnov Site deprecation 10 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{% extends "base.html" %}
{% block h1title %}
<h1>Welcome to {{ config.title }}</h1>
<p class="publish-date">A simple recipe website that doesn't suck.</p>
{% endblock %}
{% block body %}
{% if lang != "en" %}
{% set section_path = "recipes/_index." ~ lang ~ ".md" %}
{% else %}
{% set section_path = "recipes/_index.md" %}
{% endif %}
{% set section = get_section(path=section_path) %}
<h2>Latest Recipe</h2>
{% set latest = section.pages[0] %}
<div class="recipe-container partial">
	<h2>
		<a href="{{ latest.permalink }}">{{ latest.title }}</a>
		<span class="publish-date">{{ latest.date | date }}</span>
	</h2>
	{% if latest.summary %}
		{{ latest.summary | safe }}
	{% endif %}
</div>
<div class="more-link-container">
<a href="/recipes/">More recipes...</a>
</div>
<h2>Website status</h2>
<p>
I am kind of deprecating the site, since it was basically a response to Luke
Smith's challenge to make a minimal recipe site and he's since launched his own
site that not-surprisingly has garnered quite a lot of attention. I recommend
you check <a href="https://based.cooking">based.cooking</a>.
</p>
<p>
I will still keep this site up for the foreseeable future, probably until I get
tired of paying the domain yearly fee. If, for any reason, you are still
interested, you can still submit your recipes by email or pull request.
</p>
<h2>Make a contribution</h2>
<p>
If you want to publish your recipe or make this site better, don't hesitate to
help. You can find more information on how to contribute 
<a href="/about/">here</a>.
</p>
<h2>Other languages</h2>
<p>
This site is currently also available in the following languages:
</p>
<ul>
	<li><a href="/es/">Español</a></li>
	<li><a href="/ru/">Русский</a></li>
</ul>
{% endblock %}