Compare commits
3 commits
d779a54e63
...
0d2eb146d2
| Author | SHA1 | Date | |
|---|---|---|---|
| 0d2eb146d2 | |||
| ea27453685 | |||
| 5265b6d5cc |
5 changed files with 21 additions and 7 deletions
|
|
@ -16,8 +16,8 @@ taxonomies = [
|
|||
{name = "tags", feed = true, paginate_by=10},
|
||||
]
|
||||
|
||||
generate_feed = true
|
||||
feed_filename = "rss.xml"
|
||||
generate_feeds = true
|
||||
feed_filenames = ["rss.xml"]
|
||||
|
||||
[search] # Options specific to elasticlunr search.
|
||||
# index format can be: elasticlunr_json or elasticlunr_javascript
|
||||
|
|
|
|||
|
|
@ -1,4 +1,11 @@
|
|||
# ssh-tresor: Encrypting Secrets with Nothing but Your SSH Agent
|
||||
+++
|
||||
title = "ssh-tresor: Encrypting Secrets with Nothing but Your SSH Agent"
|
||||
date = 2026-01-21
|
||||
[taxonomies]
|
||||
tags = [ "ssh", "encryption", "rust", "security" ]
|
||||
+++
|
||||
|
||||
<!-- more -->
|
||||
|
||||
*DISCLAIMER: This article and most of the code was written with claude code. Use at your own risk.*
|
||||
|
||||
|
|
|
|||
|
|
@ -11,10 +11,11 @@
|
|||
<head>
|
||||
{%- include "partials/head.html" %}
|
||||
|
||||
{#- Rss / Atom Feed #}
|
||||
{#- Rss / Atom Feed - using new feed_filenames config #}
|
||||
{%- block rss %}
|
||||
{%- if config.generate_feed %}
|
||||
<link rel="alternate" type="{% if config.feed_filename is containing('atom') %}application/atom+xml{% else %}application/rss+xml{% endif %}" title="{{ config.title }} Atom/RSS Feed" href="{{ get_url(path=config.feed_filename, trailing_slash=false, lang=lang) | safe }}" />
|
||||
{%- if config.generate_feeds %}
|
||||
{%- set feed_file = config.feed_filenames | first %}
|
||||
<link rel="alternate" type="{% if feed_file is containing('atom') %}application/atom+xml{% else %}application/rss+xml{% endif %}" title="{{ config.title }} Atom/RSS Feed" href="{{ get_url(path=feed_file, trailing_slash=false, lang=lang) | safe }}" />
|
||||
{%- endif %}
|
||||
|
||||
{%- endblock rss %}
|
||||
|
|
|
|||
|
|
@ -115,4 +115,10 @@
|
|||
|
||||
{%- endif %}
|
||||
|
||||
{#- Rss / Atom Feed - using new feed_filenames config #}
|
||||
{%- if config.generate_feeds %}
|
||||
{%- set feed_file = config.feed_filenames | first %}
|
||||
<link rel="alternate" type="{% if feed_file is containing('atom') %}application/atom+xml{% else %}application/rss+xml{% endif %}" title="{{ config.title }} Atom/RSS Feed" href="{{ get_url(path=feed_file, trailing_slash=false, lang=lang) | safe }}" />
|
||||
{%- endif %}
|
||||
|
||||
{#- End of head partial -#}
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit d45bc26c2250f573a0d83f755831857999fc125f
|
||||
Subproject commit d52609f456f233ec0845c8a57a1e27583f0813ad
|
||||
Loading…
Add table
Add a link
Reference in a new issue