diff --git a/src/page.h b/src/page.h index 3eb4ae0..9770e94 100644 --- a/src/page.h +++ b/src/page.h @@ -74,7 +74,7 @@ namespace xmreg { // initalise page tempate map with basic info about blockchain mstch::map context { {"refresh", refresh_page}, - {"height", fmt::format("{:d}", height + 1)}, + {"height", fmt::format("{:d}", height)}, {"server_timestamp", xmreg::timestamp_to_str(server_timestamp)}, {"blocks", mstch::array()} }; diff --git a/src/templates/css/style.css b/src/templates/css/style.css index fb9774f..71825fe 100644 --- a/src/templates/css/style.css +++ b/src/templates/css/style.css @@ -5,6 +5,10 @@ body { background-color: black; } +h1, h2, h3, h4, h5, h6 { + text-align: center; +} + .center { margin: auto; width: 96%; diff --git a/src/templates/footer.html b/src/templates/footer.html index 17c7245..5bda3ad 100644 --- a/src/templates/footer.html +++ b/src/templates/footer.html @@ -1,3 +1,14 @@ +