diff --git a/src/page.h b/src/page.h index 8d29a25..b2b9118 100644 --- a/src/page.h +++ b/src/page.h @@ -469,6 +469,7 @@ namespace xmreg { // initalise page tempate map with basic info about blockchain mstch::map context { + {"testnet" , testnet}, {"refresh" , refresh_page}, {"height" , std::to_string(height)}, {"server_timestamp", xmreg::timestamp_to_str(server_timestamp)}, @@ -478,7 +479,7 @@ namespace xmreg { {"is_page_zero" , !bool(page_no)}, {"next_page" , std::to_string(page_no + 1)}, {"prev_page" , std::to_string((page_no > 0 ? page_no - 1 : 0))}, - {"txs" , mstch::array()}, // will keep tx to show + {"txs" , mstch::array()} // will keep tx to show }; // get reference to txs mstch map to be field below diff --git a/src/templates/header.html b/src/templates/header.html index 8365375..12fa871 100644 --- a/src/templates/header.html +++ b/src/templates/header.html @@ -6,7 +6,7 @@ {{#refresh}} {{/refresh}} - Onion Monero Explorer + Onion Monero Blockchain Explorer