Skip to content

Commit

Permalink
Zu headings wurden permalink hinzugefügt.
Browse files Browse the repository at this point in the history
  • Loading branch information
emle230f committed Apr 24, 2024
1 parent 0a938ce commit a644a5f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sipa/config/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,18 @@
'sipa.utils.bootstraped_tables',
'sipa.utils.link_patch',
'meta',
'attr_list'
'attr_list',
'toc'
]
FLATPAGES_EXTENSION_CONFIGS = {
'sane_lists': {},
'sipa.utils.bootstraped_tables': {},
'sipa.utils.link_patch': {},
'meta': {},
'attr_list': {},
'toc': {
'permalink': " #"
}
}

# Mail configuration
Expand Down
12 changes: 12 additions & 0 deletions sipa/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ a:not([class]):hover {
text-decoration: underline;
}

.headerlink {
color: var(--bs-secondary-color);
text-decoration: none;
}

.headerlink:hover {
color: var(--bs-heading-color);
font-weight: bold;
}



@media (min-width: 768px) {
.pg-header {
display: block;
Expand Down

0 comments on commit a644a5f

Please sign in to comment.