diff --git a/src/html/css/index.css b/src/html/css/index.css index 9148e096..6aa8c90b 100755 --- a/src/html/css/index.css +++ b/src/html/css/index.css @@ -12,7 +12,7 @@ body { padding: 1em; /* Adjusted for mobile */ } -h2 { +h1 { color: #343a40; border-bottom: 2px solid #dee2e6; padding-bottom: 0.5em; @@ -32,7 +32,7 @@ a:hover { } /* --- Songbooks Section --- */ -.songbook-container h2 { +.songbook-container h1 { border-bottom: none; /* We will style it differently for mobile */ } @@ -262,7 +262,7 @@ p { gap: 0.8em; } - h2 { + h1 { font-size: 1.2em; margin-top: 1.2em; } @@ -325,7 +325,7 @@ p { flex-wrap: nowrap; } - .songbook-container h2 { + .songbook-container h1 { border-bottom: 2px solid #dee2e6; } diff --git a/src/html/index_generator.py b/src/html/index_generator.py index 7229a334..7cb791e0 100644 --- a/src/html/index_generator.py +++ b/src/html/index_generator.py @@ -39,7 +39,7 @@ def create_index_html(list_of_songs_meta, target_dir): # Add keywords etree.SubElement(head, "meta", attrib={ "name": "keywords", - "content": "śpiewnik harcerski, teksty piosenek, chwyty gitarowe, akordy, piosenki harcerskie, piosenki biesiadne, piosenki turystyczne, śpiewnik pdf, śpiewnik kindle" + "content": "śpiewnik harcerski, teksty piosenek, chwyty gitarowe, akordy, piosenki harcerskie, piosenki biesiadne, piosenki turystyczne, śpiewnik pdf, śpiewnik kindle, epub, własny śpiewnik, kreator śpiewnika, kreator śpiewników" }, nsmap=None).tail = "\n" # Add Open Graph tags @@ -64,7 +64,7 @@ def create_index_html(list_of_songs_meta, target_dir): "name": "Spiewaj.com", "alternateName": "Śpiewnik", "url": "https://spiewaj.com/", - "description": "Śpiewnik - teksty i chwyty piosenek popularnych, harcerskich, turystycznych", + "description": "Śpiewnik - teksty i chwyty piosenek popularnych, harcerskich, turystycznych (epub/pdf/kindle).", "inLanguage": "pl-PL", "potentialAction": { "@type": "SearchAction", @@ -94,9 +94,9 @@ def create_index_html(list_of_songs_meta, target_dir): # Build descriptive title attribute for SEO title_text = song.effectiveTitle() if song.artist(): - a_main.attrib['title'] = f"{title_text} - {song.artist()} - tekst i chwyty" + a_main.attrib['title'] = f"{title_text} - {song.artist()} - tekst i chwyty (pdf/epub/kindle)" else: - a_main.attrib['title'] = f"{title_text} - tekst i chwyty" + a_main.attrib['title'] = f"{title_text} - tekst i chwyty (pdf/epub/kindle)" # Edit button (outside main link for event handling) button = etree.SubElement(li, "button") diff --git a/src/html/templates/index.xhtml b/src/html/templates/index.xhtml index 623f2abd..3f30bc87 100644 --- a/src/html/templates/index.xhtml +++ b/src/html/templates/index.xhtml @@ -87,7 +87,7 @@ [Inne rozpoczęte edycje]
Wersję na Kindla możesz wgrać używając: https://www.amazon.com/sendtokindle