From 32601ae9a9ce4db635110476e627a49368e00706 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Wed, 22 Jan 2025 09:42:34 +1100 Subject: [PATCH] Hide title on mobile --- _includes/elements/attribution.html | 2 +- _includes/elements/title.html | 2 +- _layouts/base.html | 1 + assets/custom.css | 3 +++ 4 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 assets/custom.css diff --git a/_includes/elements/attribution.html b/_includes/elements/attribution.html index 663de79..8723c56 100644 --- a/_includes/elements/attribution.html +++ b/_includes/elements/attribution.html @@ -2,7 +2,7 @@ - Theme adapted from programming pages theme v{{ layout.theme_version }} ({{ layout.theme_url }}) + Theme adapted from programming pages diff --git a/_includes/elements/title.html b/_includes/elements/title.html index 8117a10..21d2405 100644 --- a/_includes/elements/title.html +++ b/_includes/elements/title.html @@ -3,5 +3,5 @@ {% include icon.liquid id='home' %} Home
-{{ site.title }} +{{ site.title }}
\ No newline at end of file diff --git a/_layouts/base.html b/_layouts/base.html index 28bb1db..7e8557c 100644 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -18,6 +18,7 @@ layout: compress + diff --git a/assets/custom.css b/assets/custom.css new file mode 100644 index 0000000..9f8b29b --- /dev/null +++ b/assets/custom.css @@ -0,0 +1,3 @@ +.custom-mobile-hide { + display: none !important; +} \ No newline at end of file