Prechádzať zdrojové kódy

Deleted the link at the end of each RSS entry.

default 3 rokov pred
rodič
commit
d253429fe7
1 zmenil súbory, kde vykonal 0 pridanie a 4 odobranie
  1. 0 4
      html.c

+ 0 - 4
html.c

@@ -1132,10 +1132,6 @@ int html_get_handler(d_char *req, char *q_path, char **body, int *b_size, char *
             xs *title   = xs_str_new(NULL);
             int i;
 
-            /* add the post link */
-            xs *l = xs_fmt("<p><a href=\"%s\">%s</a><p>", id, id);
-            content = xs_str_cat(content, l);
-
             /* escape tags */
             content = xs_replace_i(content, "<", "&lt;");
             content = xs_replace_i(content, ">", "&gt;");