Skip to content

Commit

Permalink
Add license header
Browse files Browse the repository at this point in the history
  • Loading branch information
smeso committed Mar 27, 2023
1 parent 17a57e2 commit 47184d1
Show file tree
Hide file tree
Showing 17 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions static/css/main.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: Apache-2.0 */

:root {
--default-color-text: #454545;
--default-color-bg: #fff;
Expand Down
2 changes: 2 additions & 0 deletions static/js/footer.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: Apache-2.0 */

function rot13(str) {
var input = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
var output = 'NOPQRSTUVWXYZABCDEFGHIJKLMnopqrstuvwxyzabcdefghijklm';
Expand Down
2 changes: 2 additions & 0 deletions static/js/main.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: Apache-2.0 */

function set_property(name, theme) {
var r = document.querySelector(':root');
r.style.setProperty('--' + name,
Expand Down
1 change: 1 addition & 0 deletions templates/archives.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{# SPDX-License-Identifier: Apache-2.0 #}
{% extends "base.html" %}

{% block title %}{{ SITENAME }} - Archives{% endblock %}
Expand Down
1 change: 1 addition & 0 deletions templates/article.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{# SPDX-License-Identifier: Apache-2.0 #}
{% extends "base.html" %}
{% block title %}{{ SITENAME }} - {{ article.title|striptags|e }}{% endblock %}
{% block full_url %}{{SITEURL}}/{{article.url}}{% endblock %}
Expand Down
1 change: 1 addition & 0 deletions templates/author.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{# SPDX-License-Identifier: Apache-2.0 #}
{% extends "index.html" %}
{% block title %}{{ SITENAME }} - {{ author }}{% endblock %}
{% block description %}{% endblock %}
Expand Down
1 change: 1 addition & 0 deletions templates/authors.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{# SPDX-License-Identifier: Apache-2.0 #}
{% extends "base.html" %}
{% block title %}{{ SITENAME }} - Authors{% endblock %}
{% block description %}{% endblock %}
Expand Down
1 change: 1 addition & 0 deletions templates/base.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{# SPDX-License-Identifier: Apache-2.0 #}
<!DOCTYPE html>
<!--! SimpleNice by https://smeso.it - https://github.com/smeso/simplenice - Apache License 2.0 https://www.apache.org/licenses/LICENSE-2.0 -->
{% if article %}
Expand Down
1 change: 1 addition & 0 deletions templates/categories.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{# SPDX-License-Identifier: Apache-2.0 #}
{% extends "base.html" %}
{% block title %}{{ SITENAME }} - Categories{% endblock %}
{% block description %}{% endblock %}
Expand Down
1 change: 1 addition & 0 deletions templates/category.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{# SPDX-License-Identifier: Apache-2.0 #}
{% extends "index.html" %}
{% block title %}{{ SITENAME }} - {{ category }}{% endblock %}
{% block description %}{% endblock %}
Expand Down
1 change: 1 addition & 0 deletions templates/index.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{# SPDX-License-Identifier: Apache-2.0 #}
{% extends "base.html" %}
{% block title %}{{ SITENAME }} - Blog{% endblock %}
{% block content %}
Expand Down
1 change: 1 addition & 0 deletions templates/page.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{# SPDX-License-Identifier: Apache-2.0 #}
{% extends "base.html" %}
{% block title %}{{ SITENAME }} - {{ page.title|striptags|e }}{% endblock %}
{% block full_url %}{{SITEURL}}/{{page.url}}{% endblock %}
Expand Down
1 change: 1 addition & 0 deletions templates/period_archives.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{# SPDX-License-Identifier: Apache-2.0 #}
{% extends "base.html" %}

{% block title %}{{ SITENAME }} - {{ period | reverse | join(' ') }} archives{% endblock %}
Expand Down
1 change: 1 addition & 0 deletions templates/robots.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{# SPDX-License-Identifier: Apache-2.0 #}
User-agent: *
{% for p in pages %}
{% if p.robots and p.robots == 'none' %}
Expand Down
1 change: 1 addition & 0 deletions templates/sitemap.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{# SPDX-License-Identifier: Apache-2.0 #}
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

Expand Down
1 change: 1 addition & 0 deletions templates/tag.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{# SPDX-License-Identifier: Apache-2.0 #}
{% extends "index.html" %}
{% block title %}{{ SITENAME }} - {{ tag }}{% endblock %}
{% block description %}{% endblock %}
Expand Down
1 change: 1 addition & 0 deletions templates/tags.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{# SPDX-License-Identifier: Apache-2.0 #}
{% extends "base.html" %}
{% block title %}{{ SITENAME }} - Tags{% endblock %}
{% block description %}{% endblock %}
Expand Down

0 comments on commit 47184d1

Please sign in to comment.