Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
/content/lib/doc/*
/content/cli/manpage.md
/static/api/*/*.json
/static/*/download
/templates/jsonld/*/*.html
/static/*/download
36 changes: 0 additions & 36 deletions .site-templates/scripts/jsonld.py

This file was deleted.

8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ lib-doc:
rm content/lib/doc/$${branch}/LICENSE.md; \
done; \
echo "Adding redirections to version $${branch}"; \
echo "+++\ntitle = \"Redirecting to version $${branch}...\"\nredirect_to = \"/lib/doc/$${current_version}\"\n+++" > content/lib/doc/current/_index.md; \
echo -e "+++\ntitle = \"Redirecting to version $${branch}...\"\nredirect_to = \"/lib/doc/$${current_version}\"\n+++" > content/lib/doc/current/_index.md; \
cp content/lib/doc/current/_index.md content/lib/doc/_index.md

manpage:
Expand All @@ -33,13 +33,9 @@ manpage:
| sed -E 's/^`([A-Za-z_=-]+)`/- \0/' \
>> content/cli/manpage.md

generate-jsonlds:
python3 .site-templates/scripts/jsonld.py

pages: changelog lib-doc manpage
scripts: generate-jsonlds

serve: scripts
serve: pages
zola serve

build:
Expand Down
2 changes: 0 additions & 2 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
<meta property="og:site_name" content="{{ config.title }}" />
<meta property="og:type" content="website" />
<meta property="og:image" content="{{ config.base_url | safe }}/img/kosmorro-open-graph.jpg" />

{% block jsonld %}{% endblock %}
</head>
<body>
<div class="container">
Expand Down
1 change: 0 additions & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
{% block ogtitle %}Kosmorro - A program to calculate your ephemerides{% endblock %}
{% block description %}Available for Linux, FreeBSD and Mac!{% endblock %}
{% block ogdescription %}Available for Linux, FreeBSD and Mac!{% endblock %}
{% block jsonld %}<script type="application/ld+json">{% include "jsonld/SoftwareApplications/cli.html" %}</script>{% endblock %}

{% block stylesheets %}
<link rel="stylesheet" href="/kosmorro-landing.css" />
Expand Down