From 0b7640631f4ecc55cbc64181de834c0bb6958892 Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Tue, 17 Dec 2019 13:54:39 -0800 Subject: [PATCH] 4.1.0 day 1 site ship - one last change again --- site/4ed_site_render_main.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/site/4ed_site_render_main.cpp b/site/4ed_site_render_main.cpp index 5d351d8f..a0850af3 100644 --- a/site/4ed_site_render_main.cpp +++ b/site/4ed_site_render_main.cpp @@ -180,7 +180,7 @@ render_doc_page_to_html_no_header(Arena *scratch, Doc_Page *page, FILE *file){ fprintf(file, "
\n"); - fprintf(file, "
> home" + fprintf(file, "
> home " "> %.*s
\n", string_expand(cluster->name), string_expand(cluster->title)); @@ -294,6 +294,10 @@ render_doc_cluster_to_html(Arena *scratch, Doc_Cluster *cluster, fprintf(file, "
\n"); fprintf(file, "

%.*s

\n", string_expand(cluster->title)); + + fprintf(file, "
\n"); + fprintf(file, "\n"); + fprintf(file, "
\n"); // TODO(allen): Cluster description. @@ -327,6 +331,9 @@ render_doc_cluster_to_html(Arena *scratch, Doc_Cluster *cluster, { fprintf(file_index, "
\n"); + fprintf(file_index, "
\n"); + fprintf(file_index, "\n"); + fprintf(file_index, "
\n"); fprintf(file_index, "

%.*s Index

\n", string_expand(cluster->title)); fprintf(file_index, "
\n");