mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-21 21:05:05 +00:00
Tweaked HTML for the timeline pages.
This commit is contained in:
parent
e1df0d0d57
commit
cb3bb90dfc
1 changed files with 7 additions and 7 deletions
14
html.c
14
html.c
|
@ -2259,13 +2259,6 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only,
|
|||
}
|
||||
}
|
||||
|
||||
if (title) {
|
||||
xs_html_add(body,
|
||||
xs_html_tag("h2",
|
||||
xs_html_attr("class", "snac-header"),
|
||||
xs_html_text(title)));
|
||||
}
|
||||
|
||||
xs_html_add(body,
|
||||
xs_html_tag("a",
|
||||
xs_html_attr("name", "snac-posts")));
|
||||
|
@ -2273,6 +2266,13 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only,
|
|||
xs_html *posts = xs_html_tag("div",
|
||||
xs_html_attr("class", "snac-posts"));
|
||||
|
||||
if (title) {
|
||||
xs_html_add(posts,
|
||||
xs_html_tag("h2",
|
||||
xs_html_attr("class", "snac-header"),
|
||||
xs_html_text(title)));
|
||||
}
|
||||
|
||||
xs_html_add(body,
|
||||
posts);
|
||||
|
||||
|
|
Loading…
Reference in a new issue