fix: соцсети в меню теперь видны, логотип печатает реальные теги сайта
- extend_footer.html: убран inline display:none у блока соцсетей (перебивал
CSS при переносе); слова логотипа = site.Taxonomies.tags (топ-24 по числу
постов, без служебных тегов) вместо [params.typewriter].words
- typewriter.css: скрытие #__social-icons{display:none} (JS снимает id при
переносе в nav -> блок видим через класс), order:2 у .social-icons-inline
- hugo.toml: удалён устаревший [params.typewriter]
This commit is contained in:
@@ -61,12 +61,16 @@ article.first-entry {
|
||||
}
|
||||
|
||||
/* 3) social icons inside the header nav (moved there by JS in
|
||||
extend_footer.html). Sizing matches the logo/menu scale. */
|
||||
extend_footer.html). Sizing matches the logo/menu scale.
|
||||
Hidden while server-rendered in footer (id present); the JS moves
|
||||
the block into .nav and clears the id — then class rules apply. */
|
||||
#__social-icons { display: none; }
|
||||
.social-icons-inline {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
margin-inline-start: 14px;
|
||||
order: 2;
|
||||
}
|
||||
.social-icon {
|
||||
display: inline-flex;
|
||||
|
||||
Reference in New Issue
Block a user