From 457de7a8e58d08aa0ebac9e7fa1951fa28b48ad4 Mon Sep 17 00:00:00 2001 From: Sam Denty Date: Sat, 15 Oct 2022 23:14:53 +0100 Subject: [PATCH] 0.3.7 - include links to root --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/icons.rs | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 63837fe..68c4d5d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1525,7 +1525,7 @@ checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de" [[package]] name = "site_icons" -version = "0.3.6" +version = "0.3.7" dependencies = [ "byteorder", "clap", diff --git a/Cargo.toml b/Cargo.toml index c44e47d..9b02d17 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "site_icons" -version = "0.3.6" +version = "0.3.7" authors = ["Sam Denty "] edition = "2018" license = "GPL-3.0" diff --git a/src/icons.rs b/src/icons.rs index f39c7ec..927009c 100644 --- a/src/icons.rs +++ b/src/icons.rs @@ -153,6 +153,7 @@ impl Icons { { let mut logos: Vec<_> = document .select(selector!( + "a[href='/'] img, a[href='/'] svg", "header img, header svg", "img[src*=logo]", "img[alt*=logo], svg[alt*=logo]",