diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-09-17 07:16:43 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-09-17 07:16:43 +0200 |
| commit | 40013704cf16f53468940a7d0160b40e8241a87c (patch) | |
| tree | f8ddc584fd90a450733332a3b9e6bbb898b4ab4e /_includes/grid.html | |
| parent | 71a1444ec305d537cbfadb1a599df7dcacde13a1 (diff) | |
| download | jo.mssola.com-40013704cf16f53468940a7d0160b40e8241a87c.tar.gz jo.mssola.com-40013704cf16f53468940a7d0160b40e8241a87c.zip | |
Remove jekyll
This is a complete rewrite of my blog to a vastly simpler form. That is,
we only need HTML and a couple of build scripts to have something
equivalent, without all the dependencies that jekyll brings. I have also
taken the chance to remove a lot of stuff that was actually not needed.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to '_includes/grid.html')
| -rw-r--r-- | _includes/grid.html | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/_includes/grid.html b/_includes/grid.html deleted file mode 100644 index dcaa799..0000000 --- a/_includes/grid.html +++ /dev/null @@ -1,80 +0,0 @@ -<div class="container"> - <div id="blog-intro" class="row"> - {% if include.hasfeed %} - <h2> - {% t titles.blog %} - - <small> - {% if site.lang == "ca" %} - <a href="/feed.xml">RSS</a> - {% else %} - <a href="/feed.en.xml">RSS Feed</a> - {% endif %} - </small> - </h2> - {% endif %} - - <p> - {% if include.index %} - {% t index.intro %} - <a href="{% tl writings %}" title="{% t titles.writings %}">{% t titles.writingsu %}</a> - {% t index.after %} - <a href="{% tl blog %}" title="{% t titles.blog %}">{% t titles.blogu %}</a>. - {% t index.final %} - {% elsif include.writings %} - {% t writings.intro %} - {% elsif include.misc %} - {% t misc.intro %} - {% else %} - {% t blog.intro %} - {% endif %} - </p> - - <p id="tag-search-message"> - {% t tags.filtering_by %}: - <code id="tag-searched"></code>. - {% t tags.click %} <a href="{{ page.url | prepend: site.baseurl }}">{% t tags.here %}</a> {% t tags.to_cancel %}. - </p> - </div> - - <center id="oh-its-empty"> - {% t blog.empty_search %} - </center> - - <div id="posts-list" class="row"> - {% if page.url == "/" %} - {% assign posts = site.posts | where:"lang",site.lang| where:"blogpost",true %} - {% elsif page.url == "/blog/" %} - {% assign posts = site.posts | where:"lang",site.lang | where:"blogpost",true %} - {% elsif page.url == "/misc/" %} - {% assign posts = site.posts | where:"lang",site.lang | where:"misc",true %} - {% else %} - {% assign posts = site.posts | where:"lang",site.lang | where:"blogpost",false | where:"misc",false %} - {% endif %} - - {% capture posts_count %}{{ posts | size }}{% endcapture %} - {% if posts_count == "0" %} - <center>{% t blog.empty %}</center> - {% endif %} - - {% for post in posts %} - {% if site.lang == post.lang %} - <div class="post-preview col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> - <a href="{{ post.url | prepend: site.baseurl }}"> - <h2 class="post-title"> - {{ post.title }} - </h2> - </a> - {% if post.subtitle %}<h3 class="post-subtitle-list"> {{ post.subtitle }}</h3>{% endif %} - - {% include postmeta.html date=post.date tags=post.tags %} - - <div class="post-entry"> - {{ post.content | truncatewords: 50 | strip_html }} - <a href="{{ post.url | prepend: site.baseurl }}" class="post-read-more">[{% t blog.read %} {% t blog.more %}]</a> - </div> - </div> - {% endif %} - {% endfor %} - </div> -</div> |
