mirror of
https://github.com/avitex/avitex.github.io
synced 2025-01-15 12:29:57 +00:00
update and fix
This commit is contained in:
parent
e8188dad73
commit
f93b184983
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Build and deploy
|
||||
uses: shalzz/zola-deploy-action@v0.12.0
|
||||
uses: shalzz/zola-deploy-action@v0.15.0
|
||||
env:
|
||||
PAGES_BRANCH: master
|
||||
BUILD_DIR: .
|
||||
|
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2018-2021 James Dyson
|
||||
Copyright (c) 2018-2022 James Dyson
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -2,11 +2,12 @@ title = "1bit.pw"
|
||||
base_url = "https://1bit.pw"
|
||||
description = "Home of avitex"
|
||||
|
||||
minify_html = true
|
||||
compile_sass = true
|
||||
build_search_index = true
|
||||
generate_rss = true
|
||||
generate_feed = true
|
||||
|
||||
taxonomies = [{ name = "blog/tags", rss = true }]
|
||||
taxonomies = [{ name = "blog/tags", feed = true }]
|
||||
|
||||
[markdown]
|
||||
highlight_code = true
|
||||
|
@ -10,8 +10,8 @@ PRs are always welcome, see my [about page](@/about/_index.md) to contact me.
|
||||
|
||||
## Rust
|
||||
|
||||
{{ projects(lang="rust") }}
|
||||
{{ projects(for_lang="rust") }}
|
||||
|
||||
## Elixir
|
||||
|
||||
{{ projects(lang="elixir") }}
|
||||
{{ projects(for_lang="elixir") }}
|
@ -2,7 +2,7 @@
|
||||
{% import "post_macros.html" as post_macros %}
|
||||
{% block title %}Tag {{ term.name }} - {{ config.title }}{% endblock %}
|
||||
{% block content %}
|
||||
<h1>Tag: <code>{{ term.name }}</code> <small>(<a href="{{ get_taxonomy_url(kind="blog/tags", name=term.name) }}rss.xml">RSS</a>)</small></h1>
|
||||
<h1>Tag: <code>{{ term.name }}</code> <small>(<a href="{{ get_taxonomy_url(kind="blog/tags", name=term.name) }}atom.xml">RSS</a>)</small></h1>
|
||||
{% for page in term.pages %}
|
||||
{{ post_macros::page_in_list(page=page) }}
|
||||
{% endfor %}
|
||||
|
@ -14,7 +14,7 @@
|
||||
<link rel="stylesheet" href="{{ get_url(path="site.css", cachebust=true) | safe }}" />
|
||||
<link rel="stylesheet" href="{{ get_url(path="fonts.min.css") | safe }}" />
|
||||
<link rel="icon" type="image/png" href="{{ get_url(path="favicon.png") | safe }}" />
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path="rss.xml") | safe }}" />
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path="atom.xml") | safe }}" />
|
||||
<title>{% block title %}{{ config.title }}{% endblock title %}</title>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -14,7 +14,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for project_name, project in data.project %}
|
||||
{% if project.lang == lang %}
|
||||
{% if project.lang == for_lang %}
|
||||
<tr>
|
||||
<td><code>{{ project_name }}</code></td>
|
||||
<td><a href="https://github.com/{{ project.github }}">github</a></td>
|
||||
|
Loading…
Reference in New Issue
Block a user