From b1f470c4e6d79c591329be7b7bb9247f7edbe400 Mon Sep 17 00:00:00 2001 From: valkyrie_pilot Date: Mon, 26 Aug 2024 11:22:00 -0600 Subject: [PATCH] Reformat templates --- templates/404.hbs | 34 ++++----- templates/index.hbs | 170 ++++++++++++++++++++++---------------------- 2 files changed, 102 insertions(+), 102 deletions(-) diff --git a/templates/404.hbs b/templates/404.hbs index 771ade3..51ad27a 100644 --- a/templates/404.hbs +++ b/templates/404.hbs @@ -1,21 +1,21 @@ - - - - - - 404 not found - {% include "style.hbs" %} - + + + + + + 404 not found + {% include "style.hbs" %} + - -
- 404 not found - Go home? -
- + +
+ 404 not found + Go home? +
+ diff --git a/templates/index.hbs b/templates/index.hbs index 2dc4e98..eb285f7 100644 --- a/templates/index.hbs +++ b/templates/index.hbs @@ -1,93 +1,93 @@ - - - {%- match ip -%} - {%- when IpAddr::V4 with (_) -%} - - {%- when IpAddr::V6 with (_) -%} - - {%- endmatch -%} - - - - - - - {% include "style.hbs" %} - {%- match ip -%} - {%- when IpAddr::V4 with (ipv4) -%} - Your public IP is {{ ipv4 }} - {%- when IpAddr::V6 with (_) -%} - What's your IP? - {%- endmatch -%} - + + + {%- match ip -%} + {%- when IpAddr::V4 with (_) -%} + + {%- when IpAddr::V6 with (_) -%} + + {%- endmatch -%} + + + + + + + {% include "style.hbs" %} + {%- match ip -%} + {%- when IpAddr::V4 with (ipv4) -%} + Your public IP is {{ ipv4 }} + {%- when IpAddr::V6 with (_) -%} + What's your IP? + {%- endmatch -%} + - - -
- {%- match ip -%} - {%- when IpAddr::V4 with (ipv4) -%} - Your public IPv4 is: {{ ipv4 }} -
+ {%- match ip -%} + {%- when IpAddr::V4 with (ipv4) -%} + + {%- when IpAddr::V6 with (ipv6) -%} + + {%- endmatch -%} +