This commit is contained in:
Valeria Fadeeva 2023-12-15 20:25:53 +05:00
parent d4787f5aa0
commit b2cf4c9012
5 changed files with 7 additions and 17 deletions

View File

@ -1,4 +1,4 @@
let tplUrl = 'json/mas-tpl.html';
let tplUrl = 'json/mastodon-tpl.html';
let response = await fetch(tplUrl);
var tpl = "";
let log = document.getElementById('log');

View File

@ -203,10 +203,6 @@
<div>
</main>
<div id="log" class="container">
</div>
<!-- FOOTER -->
<!-- d-flex flex-wrap justify-content-between align-items-center py-3 my-4 -->
<footer class="container border-top py-3 my-4">
@ -291,8 +287,6 @@
<script src="assets/js/script.js"></script>
<script src="https://techhub.social/embed.js" async="async"></script>
<script>
</script>

View File

@ -1,10 +0,0 @@
<!DOCTYPE html>
<html lang="ru-RU">
<head>
<link rel="stylesheet" href="assets/css/mastodon.css" media="all">
</head>
<body>
<div id="log"></div>
<script src="assets/js/mastodon.js" type="module" async="async"></script>
</body>
</html>

6
public/mastodon.tpl.html Normal file
View File

@ -0,0 +1,6 @@
<div class="container py-5 my-5">
<link rel="stylesheet" href="assets/css/mastodon.css" media="all">
<div id="log"></div>
<script src="assets/js/mastodon.js" type="module" async="async"></script>
</div><!-- /.container -->