Added custom 404 page

Minor formatting fixes to .yml files
This commit is contained in:
Kenneth Skovhede 2024-04-30 14:01:41 +02:00
parent 9b43142df7
commit bab72c0bba
3 changed files with 51 additions and 49 deletions

View File

@ -1,51 +1,49 @@
# Project information
site_name: "Duplicati 2 User's Manual"
site_description: 'Documentation for Duplicati 2'
site_author: 'K. Zaaijer'
site_url: 'https://www.duplicati.com/'
site_description: "Documentation for Duplicati 2"
site_author: "K. Zaaijer"
site_url: "https://duplicati.com/"
# Repository
repo_name: 'kees-z/DuplicatiDocs'
repo_url: 'https://github.com/kees-z/DuplicatiDocs/'
repo_name: "kees-z/DuplicatiDocs"
repo_url: "https://github.com/kees-z/DuplicatiDocs/"
# Copyright
copyright: 'Copyright © 2016 - 2023 The Duplicati Team'
copyright: "Copyright © 2016 - 2023 The Duplicati Team"
# Configuration
theme:
name: 'material'
language: 'en'
name: "material"
language: "en"
custom_dir: overrides
palette:
primary: 'blue'
accent: 'blue'
primary: "blue"
accent: "blue"
font:
text: 'Roboto'
code: 'Roboto Mono'
logo: 'duplicatilogo.png'
favicon: 'favicon.ico'
text: "Roboto"
code: "Roboto Mono"
logo: "duplicatilogo.png"
favicon: "favicon.ico"
feature:
tabs: false
# Customization
extra:
social:
- type: 'edge'
link: 'https://www.duplicati.com'
icon: 'fontawesome/regular/newspaper'
- type: 'comment'
link: 'https://forum.duplicati.com'
icon: 'fontawesome/regular/comment'
- type: 'github'
link: 'https://github.com/duplicati/duplicati'
icon: 'fontawesome/brands/github'
- type: "edge"
link: "https://duplicati.com"
icon: "fontawesome/regular/newspaper"
- type: "comment"
link: "https://forum.duplicati.com"
icon: "fontawesome/regular/comment"
- type: "github"
link: "https://github.com/duplicati/duplicati"
icon: "fontawesome/brands/github"
# Google Analytics
google_analytics:
- 'UA-XXXXXXXX-X'
- 'auto'
- "UA-XXXXXXXX-X"
- "auto"
# Extensions
markdown_extensions:
@ -55,8 +53,6 @@ markdown_extensions:
- toc:
permalink: true
nav:
- Home: index.md
- Manual:

6
overrides/404.html Normal file
View File

@ -0,0 +1,6 @@
{% extends "main.html" %}
<!-- Content -->
{% block content %}
<h1>404 - Page not found</h1>
{% endblock %}