4.1.0 day 1 site ship - one last change again
parent
25f5484604
commit
0b7640631f
|
@ -180,7 +180,7 @@ render_doc_page_to_html_no_header(Arena *scratch, Doc_Page *page, FILE *file){
|
||||||
|
|
||||||
fprintf(file, "<div class=\"small_spacer\"></div>\n");
|
fprintf(file, "<div class=\"small_spacer\"></div>\n");
|
||||||
|
|
||||||
fprintf(file, "<div class=\"small\">> <a href=\"https://4coder.net\">home</a>"
|
fprintf(file, "<div class=\"small\">> <a href=\"https://4coder.net\">home</a> "
|
||||||
"> <a href=\"%.*s.html\">%.*s</a></div>\n",
|
"> <a href=\"%.*s.html\">%.*s</a></div>\n",
|
||||||
string_expand(cluster->name),
|
string_expand(cluster->name),
|
||||||
string_expand(cluster->title));
|
string_expand(cluster->title));
|
||||||
|
@ -294,6 +294,10 @@ render_doc_cluster_to_html(Arena *scratch, Doc_Cluster *cluster,
|
||||||
|
|
||||||
fprintf(file, "<div class=\"small_spacer\"></div>\n");
|
fprintf(file, "<div class=\"small_spacer\"></div>\n");
|
||||||
fprintf(file, "<h1>%.*s</h1>\n", string_expand(cluster->title));
|
fprintf(file, "<h1>%.*s</h1>\n", string_expand(cluster->title));
|
||||||
|
|
||||||
|
fprintf(file, "<div class=\"small_spacer\"></div>\n");
|
||||||
|
fprintf(file, "<div class=\"small\">> <a href=\"https://4coder.net\">home</a></div>\n");
|
||||||
|
|
||||||
fprintf(file, "<div class=\"spacer\"></div>\n");
|
fprintf(file, "<div class=\"spacer\"></div>\n");
|
||||||
|
|
||||||
// TODO(allen): Cluster description.
|
// TODO(allen): Cluster description.
|
||||||
|
@ -327,6 +331,9 @@ render_doc_cluster_to_html(Arena *scratch, Doc_Cluster *cluster,
|
||||||
{
|
{
|
||||||
fprintf(file_index, "<div class=\"sidebar\">\n");
|
fprintf(file_index, "<div class=\"sidebar\">\n");
|
||||||
|
|
||||||
|
fprintf(file_index, "<div class=\"small_spacer\"></div>\n");
|
||||||
|
fprintf(file_index, "<div class=\"small\">> <a href=\"https://4coder.net\">home</a></div>\n");
|
||||||
|
|
||||||
fprintf(file_index, "<div class=\"small_spacer\"></div>\n");
|
fprintf(file_index, "<div class=\"small_spacer\"></div>\n");
|
||||||
fprintf(file_index, "<h1>%.*s Index</h1>\n", string_expand(cluster->title));
|
fprintf(file_index, "<h1>%.*s Index</h1>\n", string_expand(cluster->title));
|
||||||
fprintf(file_index, "<div class=\"spacer\"></div>\n");
|
fprintf(file_index, "<div class=\"spacer\"></div>\n");
|
||||||
|
|
Loading…
Reference in New Issue