reverted to old web configuration on main branch

This commit is contained in:
2025-10-06 10:56:21 +02:00
parent 696d0e61f1
commit ed20c841ab
515 changed files with 353022 additions and 7422 deletions

17
templates/error.html Normal file
View File

@@ -0,0 +1,17 @@
{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>vontor.cz - Error: {{codeStatus}}</title>
</head>
<body>
<img
src="{% static img %}"
alt="image error response: {{ codeStatus }}"
style="width: 100%;"
>
</body>
</html>

11
templates/robots.txt Normal file
View File

@@ -0,0 +1,11 @@
Sitemap: https://vontor.com/sitemap.xml
Disallow: /admin/
Allow: /
Allow: /social/public/
Allow: /social/post/
Allow: /social/community/
Allow: /social/main/
Allow: /social/profile/
Allow: /social/login/
Allow: /social/register/
Crawl-delay: 10

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for url in sitemap_urls %}
<sitemap>
<loc>{{ request.scheme }}://{{ request.get_host }}{{ url }}</loc>
</sitemap>
{% endfor %}
</sitemapindex>

View File

View File

@@ -0,0 +1,37 @@
{% load static %}
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-XXXX-Y', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
<!-- Google AdSense -->
<meta name="google-adsense-account" content="ca-pub-9041142141778319">
<link rel="shortcut icon" type="image/png" href="{% static 'favicon.ico' %}" >
<link rel="stylesheet" href="{% static 'css/reset.css' %}">
<link rel="stylesheet" href="{% static 'css/body.css' %}">
<link rel="stylesheet" href="{% static 'css/utilities/nav.css' %}">
<script type="text/javascript" src="{% static 'js/jquery-3.7.1.js' %}"></script>
<script src="https://unpkg.com/openvidu-browser@2.22.0/dist/openvidu-browser.min.js"></script>
<script type="text/javascript" src="{% static "js/nav.js" %}"></script>
<script>
var csrf_token_js = '{{ csrf_token }}';
console.log({'csfr token': csrf_token_js});
</script>
<script src="https://kit.fontawesome.com/e5347c4a92.js" crossorigin="anonymous"></script>

View File

@@ -0,0 +1,10 @@
<nav>
<i id="toggle-nav" class="fa-solid fa-bars"></i>
<ul>
<li id="nav-logo"><span>vontor.cz</span></li>
<li><a href="{% url "home" %}">Home</a></li>
<li><a href="#portfolio">Portfolio</a></li>
<li><a href="#services">Services</a></li>
<li><a href="#contactme-form">Contact me</a></li>
</ul>
</nav>