diff --git a/.htaccess b/.htaccess
new file mode 100644
index 000000000..33f798a46
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,7 @@
+Order Deny,Allow
+Deny from all
+
+
+ Order Allow,Deny
+ Allow from all
+
\ No newline at end of file
diff --git a/generate.py b/generate.py
index 7334074f9..8e3007c5c 100644
--- a/generate.py
+++ b/generate.py
@@ -58,10 +58,11 @@ def guard(result):
manifest_data[issuer]["icons"].append(issuer + "/" + filename + ".png")
# SEARCH
- if issuer not in search_data.keys():
- search_data[issuer] = [issuer + "/" + filename + ".png"]
- elif issuer + "/" + filename + ".png" not in search_data[issuer]:
- search_data[issuer].append(issuer + "/" + filename + ".png")
+ for issuer_part in issuer.split("-"):
+ if issuer_part not in search_data.keys():
+ search_data[issuer_part] = [issuer + "/" + filename + ".png"]
+ elif issuer + "/" + filename + ".png" not in search_data[issuer_part]:
+ search_data[issuer_part].append(issuer + "/" + filename + ".png")
if "additional_search_terms" in information.keys():
for term in information["additional_search_terms"]:
@@ -70,7 +71,6 @@ def guard(result):
elif issuer + "/" + filename + ".png" not in search_data[term]:
search_data[term].append(issuer + "/" + filename + ".png")
-
except:
continue
diff --git a/vectors/google/google-chrome.svg b/vectors/google-chrome/google-chrome.svg
similarity index 100%
rename from vectors/google/google-chrome.svg
rename to vectors/google-chrome/google-chrome.svg
diff --git a/vectors/google-chrome/information.json b/vectors/google-chrome/information.json
new file mode 100644
index 000000000..82d1ee97b
--- /dev/null
+++ b/vectors/google-chrome/information.json
@@ -0,0 +1,3 @@
+{
+ "domain": "google.com"
+}
diff --git a/vectors/google/google-cloud-platform.svg b/vectors/google-cloud-platform/google-cloud-platform.svg
similarity index 100%
rename from vectors/google/google-cloud-platform.svg
rename to vectors/google-cloud-platform/google-cloud-platform.svg
diff --git a/vectors/google-cloud-platform/information.json b/vectors/google-cloud-platform/information.json
new file mode 100644
index 000000000..82d1ee97b
--- /dev/null
+++ b/vectors/google-cloud-platform/information.json
@@ -0,0 +1,3 @@
+{
+ "domain": "google.com"
+}
diff --git a/vectors/google/google-cloud.svg b/vectors/google-cloud/google-cloud.svg
similarity index 100%
rename from vectors/google/google-cloud.svg
rename to vectors/google-cloud/google-cloud.svg
diff --git a/vectors/google-cloud/information.json b/vectors/google-cloud/information.json
new file mode 100644
index 000000000..82d1ee97b
--- /dev/null
+++ b/vectors/google-cloud/information.json
@@ -0,0 +1,3 @@
+{
+ "domain": "google.com"
+}
diff --git a/vectors/google/google-developers.svg b/vectors/google-developers/google-developers.svg
similarity index 100%
rename from vectors/google/google-developers.svg
rename to vectors/google-developers/google-developers.svg
diff --git a/vectors/google-developers/information.json b/vectors/google-developers/information.json
new file mode 100644
index 000000000..82d1ee97b
--- /dev/null
+++ b/vectors/google-developers/information.json
@@ -0,0 +1,3 @@
+{
+ "domain": "google.com"
+}
diff --git a/vectors/google/google-drive.svg b/vectors/google-drive/google-drive.svg
similarity index 100%
rename from vectors/google/google-drive.svg
rename to vectors/google-drive/google-drive.svg
diff --git a/vectors/google-drive/information.json b/vectors/google-drive/information.json
new file mode 100644
index 000000000..82d1ee97b
--- /dev/null
+++ b/vectors/google-drive/information.json
@@ -0,0 +1,3 @@
+{
+ "domain": "google.com"
+}
diff --git a/vectors/google/google-gmail.svg b/vectors/google-gmail/google-gmail.svg
similarity index 100%
rename from vectors/google/google-gmail.svg
rename to vectors/google-gmail/google-gmail.svg
diff --git a/vectors/google-gmail/information.json b/vectors/google-gmail/information.json
new file mode 100644
index 000000000..82d1ee97b
--- /dev/null
+++ b/vectors/google-gmail/information.json
@@ -0,0 +1,3 @@
+{
+ "domain": "google.com"
+}
diff --git a/vectors/google/google-hangouts.svg b/vectors/google-hangouts/google-hangouts.svg
similarity index 100%
rename from vectors/google/google-hangouts.svg
rename to vectors/google-hangouts/google-hangouts.svg
diff --git a/vectors/google-hangouts/information.json b/vectors/google-hangouts/information.json
new file mode 100644
index 000000000..82d1ee97b
--- /dev/null
+++ b/vectors/google-hangouts/information.json
@@ -0,0 +1,3 @@
+{
+ "domain": "google.com"
+}
diff --git a/vectors/google/google-pay.svg b/vectors/google-pay/google-pay.svg
similarity index 100%
rename from vectors/google/google-pay.svg
rename to vectors/google-pay/google-pay.svg
diff --git a/vectors/google-pay/information.json b/vectors/google-pay/information.json
new file mode 100644
index 000000000..82d1ee97b
--- /dev/null
+++ b/vectors/google-pay/information.json
@@ -0,0 +1,3 @@
+{
+ "domain": "google.com"
+}
diff --git a/vectors/google/google-play.svg b/vectors/google-play/google-play.svg
similarity index 100%
rename from vectors/google/google-play.svg
rename to vectors/google-play/google-play.svg
diff --git a/vectors/google-play/information.json b/vectors/google-play/information.json
new file mode 100644
index 000000000..82d1ee97b
--- /dev/null
+++ b/vectors/google-play/information.json
@@ -0,0 +1,3 @@
+{
+ "domain": "google.com"
+}
diff --git a/vectors/google/google-wallet.svg b/vectors/google-wallet/google-wallet.svg
similarity index 100%
rename from vectors/google/google-wallet.svg
rename to vectors/google-wallet/google-wallet.svg
diff --git a/vectors/google-wallet/information.json b/vectors/google-wallet/information.json
new file mode 100644
index 000000000..82d1ee97b
--- /dev/null
+++ b/vectors/google-wallet/information.json
@@ -0,0 +1,3 @@
+{
+ "domain": "google.com"
+}
diff --git a/vectors/google/google-adsense.svg b/vectors/google/google-adsense.svg
deleted file mode 100755
index 4ff5b4a68..000000000
--- a/vectors/google/google-adsense.svg
+++ /dev/null
@@ -1,23 +0,0 @@
-
\ No newline at end of file
diff --git a/vectors/google/google-adwords.svg b/vectors/google/google-adwords.svg
deleted file mode 100755
index a0c572599..000000000
--- a/vectors/google/google-adwords.svg
+++ /dev/null
@@ -1,7 +0,0 @@
-
\ No newline at end of file
diff --git a/vectors/google/google-analytics.svg b/vectors/google/google-analytics.svg
deleted file mode 100755
index 09e6c1522..000000000
--- a/vectors/google/google-analytics.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/vectors/google/google-calendar.svg b/vectors/google/google-calendar.svg
deleted file mode 100755
index 8354fdfea..000000000
--- a/vectors/google/google-calendar.svg
+++ /dev/null
@@ -1,14 +0,0 @@
-
\ No newline at end of file
diff --git a/vectors/google/google-data-studio.svg b/vectors/google/google-data-studio.svg
deleted file mode 100755
index 2152d7c4d..000000000
--- a/vectors/google/google-data-studio.svg
+++ /dev/null
@@ -1,22 +0,0 @@
-
\ No newline at end of file
diff --git a/vectors/google/google-gsuite.svg b/vectors/google/google-gsuite.svg
deleted file mode 100755
index 7e68254b6..000000000
--- a/vectors/google/google-gsuite.svg
+++ /dev/null
@@ -1,5 +0,0 @@
-
\ No newline at end of file
diff --git a/vectors/google/google-marketing-platform.svg b/vectors/google/google-marketing-platform.svg
deleted file mode 100755
index 3004dbcf2..000000000
--- a/vectors/google/google-marketing-platform.svg
+++ /dev/null
@@ -1,18 +0,0 @@
-
\ No newline at end of file
diff --git a/vectors/google/google-plus-g.svg b/vectors/google/google-plus-g.svg
deleted file mode 100755
index dc9975a3e..000000000
--- a/vectors/google/google-plus-g.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/vectors/google/google-plus-square.svg b/vectors/google/google-plus-square.svg
deleted file mode 100755
index 95c9de59f..000000000
--- a/vectors/google/google-plus-square.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/vectors/google/google-plus.svg b/vectors/google/google-plus.svg
deleted file mode 100755
index 7be067086..000000000
--- a/vectors/google/google-plus.svg
+++ /dev/null
@@ -1,28 +0,0 @@
-
\ No newline at end of file
diff --git a/vectors/google/information.json b/vectors/google/information.json
index 82d1ee97b..05d296ab1 100644
--- a/vectors/google/information.json
+++ b/vectors/google/information.json
@@ -1,3 +1,3 @@
{
- "domain": "google.com"
+ "domain": "gmail.com"
}
diff --git a/vectors/microsoft-access/information.json b/vectors/microsoft-access/information.json
new file mode 100644
index 000000000..d96db6e56
--- /dev/null
+++ b/vectors/microsoft-access/information.json
@@ -0,0 +1,3 @@
+{
+ "domain": "microsoft.com"
+}
diff --git a/vectors/microsoft/microsoft-access.svg b/vectors/microsoft-access/microsoft-access.svg
similarity index 100%
rename from vectors/microsoft/microsoft-access.svg
rename to vectors/microsoft-access/microsoft-access.svg
diff --git a/vectors/microsoft-edge/information.json b/vectors/microsoft-edge/information.json
new file mode 100644
index 000000000..d96db6e56
--- /dev/null
+++ b/vectors/microsoft-edge/information.json
@@ -0,0 +1,3 @@
+{
+ "domain": "microsoft.com"
+}
diff --git a/vectors/microsoft/microsoft-edge.svg b/vectors/microsoft-edge/microsoft-edge.svg
similarity index 100%
rename from vectors/microsoft/microsoft-edge.svg
rename to vectors/microsoft-edge/microsoft-edge.svg
diff --git a/vectors/microsoft-excel/information.json b/vectors/microsoft-excel/information.json
new file mode 100644
index 000000000..3db2e144f
--- /dev/null
+++ b/vectors/microsoft-excel/information.json
@@ -0,0 +1,3 @@
+{
+ "domain": "office.com"
+}
diff --git a/vectors/microsoft/microsoft-excel.svg b/vectors/microsoft-excel/microsoft-excel.svg
similarity index 100%
rename from vectors/microsoft/microsoft-excel.svg
rename to vectors/microsoft-excel/microsoft-excel.svg
diff --git a/vectors/microsoft-onenote/information.json b/vectors/microsoft-onenote/information.json
new file mode 100644
index 000000000..7db73a23e
--- /dev/null
+++ b/vectors/microsoft-onenote/information.json
@@ -0,0 +1,6 @@
+{
+ "domain": "office.com",
+ "additional_search_terms": [
+ "notes"
+ ]
+}
diff --git a/vectors/microsoft/microsoft-onenote.svg b/vectors/microsoft-onenote/microsoft-onenote.svg
similarity index 100%
rename from vectors/microsoft/microsoft-onenote.svg
rename to vectors/microsoft-onenote/microsoft-onenote.svg
diff --git a/vectors/microsoft-outlook/information.json b/vectors/microsoft-outlook/information.json
new file mode 100644
index 000000000..2dd27fb33
--- /dev/null
+++ b/vectors/microsoft-outlook/information.json
@@ -0,0 +1,6 @@
+{
+ "domain": "office.com",
+ "additional_search_terms": [
+ "mail"
+ ]
+}
diff --git a/vectors/microsoft/microsoft-outlook.svg b/vectors/microsoft-outlook/microsoft-outlook.svg
similarity index 100%
rename from vectors/microsoft/microsoft-outlook.svg
rename to vectors/microsoft-outlook/microsoft-outlook.svg
diff --git a/vectors/microsoft-powerpoint/information.json b/vectors/microsoft-powerpoint/information.json
new file mode 100644
index 000000000..fe7b14c80
--- /dev/null
+++ b/vectors/microsoft-powerpoint/information.json
@@ -0,0 +1,6 @@
+{
+ "domain": "office.com",
+ "additional_search_terms": [
+ "presentation"
+ ]
+}
diff --git a/vectors/microsoft/microsoft-powerpoint.svg b/vectors/microsoft-powerpoint/microsoft-powerpoint.svg
similarity index 100%
rename from vectors/microsoft/microsoft-powerpoint.svg
rename to vectors/microsoft-powerpoint/microsoft-powerpoint.svg
diff --git a/vectors/microsoft-windows/information.json b/vectors/microsoft-windows/information.json
new file mode 100644
index 000000000..220668ad8
--- /dev/null
+++ b/vectors/microsoft-windows/information.json
@@ -0,0 +1,7 @@
+{
+ "domain": "windows.com",
+ "additional_search_terms": [
+ "operating",
+ "system"
+ ]
+}
diff --git a/vectors/microsoft/microsoft-windows.svg b/vectors/microsoft-windows/microsoft-windows.svg
similarity index 100%
rename from vectors/microsoft/microsoft-windows.svg
rename to vectors/microsoft-windows/microsoft-windows.svg
diff --git a/vectors/microsoft-word/information.json b/vectors/microsoft-word/information.json
new file mode 100644
index 000000000..3db2e144f
--- /dev/null
+++ b/vectors/microsoft-word/information.json
@@ -0,0 +1,3 @@
+{
+ "domain": "office.com"
+}
diff --git a/vectors/microsoft/microsoft-word.svg b/vectors/microsoft-word/microsoft-word.svg
similarity index 100%
rename from vectors/microsoft/microsoft-word.svg
rename to vectors/microsoft-word/microsoft-word.svg