Removing carousel and adding google ads.

This commit is contained in:
Sergiotarxz 2025-01-01 22:48:01 +01:00
parent 8cec998dad
commit 417c45101d
4 changed files with 11 additions and 27 deletions

View File

@ -1,13 +1,14 @@
{
"secrets": ["secret_change_for_pwgen_generated_one_with_at_least 255 chars"],
"bcrypt_pass_stats": "change_for_bcrypted_password",
"db": {
"database": "example"
},
"secrets": ["secret_change_for_pwgen_generated_one_with_at_least 255 chars"],
"bcrypt_pass_stats": "change_for_bcrypted_password",
"db": {
"database": "example"
},
"base_url": "https://burguillos.info",
"search_backend": "http://localhost:3303",
"search_index": "burguillos_info",
"geoip_database": "/usr/share/GeoLite2-City_20230804/GeoLite2-City.mmdb",
"onion_base_url": "http://example.onion";
"listen": "https:localhost:3555"
"listen": "https:localhost:3555",
"debug": true
}

View File

@ -14,7 +14,7 @@ document.addEventListener("DOMContentLoaded", function () {
const tables = document.querySelectorAll('table')
fillFarmaciaGuardia();
new CarouselAd().run()
// new CarouselAd().run()
addEasterEggAnimation()
if (menu_expand !== null && mobile_foldable !== null && transparentFullscreenHide !== null && contentsWithoutMenu !== null) {

File diff suppressed because one or more lines are too long

View File

@ -9,6 +9,7 @@
% my $base_url = config 'base_url';
<html lang="es">
<head>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8178723521508611" crossorigin="anonymous"></script>
% my $css_version = config 'css_version';
<script src="/js/bundle.js?v=<%=$css_version%>"></script>
<link rel="stylesheet" href="/css/styles.css?v=<%=$css_version%>"/>
@ -67,7 +68,7 @@
<img alt="Previous result" src="/img/up.svg"/>
</a>
</div>
<div class="page-contents">
<div class="page-contents no-carousel">
%= include 'page/_desktop_menu', categories => $categories, current_category_slug => $current_category_slug
<div class="description android open-browser-container">
<a href="<%= $current_route %>" class="open-in-browser">
@ -103,24 +104,6 @@
</div>
</div>
</div>
%= include 'ads/_carousel'
</div>
</div>
<script src="/dist/converse.js"></script>
<link rel="stylesheet" href="/dist/converse.min.css"/>
<script>
converse.initialize({
bosh_service_url: 'https://anon.burguillos.info:5281/http-bind',
debug: true,
discover_connection_methods: false,
show_controlbox_by_default: true,
authentication: 'anonymous',
auto_join_rooms: ['pueblo@burguillos.info'],
jid: 'anon.burguillos.info',
singleton: true,
view_mode: 'embedded',
auto_login: true,
show_desktop_notifications: false,
});
</script>
</html>