aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorKukielka <kukielka58@gmail.com>2018-04-16 14:28:30 +0200
committerKukielka <kukielka58@gmail.com>2018-04-16 14:28:30 +0200
commitd459bbe623b9e50c2f728f127d6e2ac4510da4f6 (patch)
tree4921f87d6112bd267077df4e58e0f29cd192d9f0 /index.php
parent09e1c0f2c21d5fa3c14966aa6b38174d4c92ef53 (diff)
downloadsimple-dash-fork-d459bbe623b9e50c2f728f127d6e2ac4510da4f6.zip
FontAwesome 5 changes
It seems like FontAwesome 5 requires you to specify the prefix of the specific icon. https://fontawesome.com/how-to-use/svg-with-js#basic-use
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 5b91cb4..c33c0bd 100644
--- a/index.php
+++ b/index.php
@@ -33,7 +33,7 @@
$icon = $item['icon'];
$link = str_replace("{{cur}}", get_current_url(), $item['link']);
- echo '<a href="' . $link . '" title="' . $item['alt'] . '"><i class="fa ' . $icon . ' fa-fw"></i></a>';
+ echo '<a href="' . $link . '" title="' . $item['alt'] . '"><i class="' . $icon . ' fa-fw"></i></a>';
}
?>
</p></center>