# Adding a link icon to headings

**URL:** <https://discourse.gohugo.io/t/adding-a-link-icon-to-headings/11551>\
**Category:** support\
**Created:** [April 15, 2018, 9:44am UTC](https://discourse.gohugo.io/t/adding-a-link-icon-to-headings/11551 "2018-04-15T09:44:32Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Leo\_Merkel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/leo_merkel/32/3321_2.png) [@Leo\_Merkel](https://discourse.gohugo.io/u/Leo_Merkel)\
**Post date:** [April 15, 2018, 2:39pm UTC](https://discourse.gohugo.io/t/adding-a-link-icon-to-headings/11551/4 "2018-04-15T14:39:09Z")

</div>

> [@candlerb](#):
>
> But I would like a link icon to be displayed next to the heading

This seems to be more a CSS issue. Try something like this (hope you know enough about CSS):

```auto
a[href$=".pdf"]::after {
	content: 'PDF-File';
	font-size: 75%;
	color: green;
	margin-left: 1rem;
}

```

In this example CSS looks whether it’s a PDF file and writes ‘PDF-File’ behind the link. Same applies to SVG or Graphics. Also you can think about Font Awesome. And you can ask @budparr who’s the developer of Ananke.

Hope this helps.

---

_[View the full topic](https://discourse.gohugo.io/t/adding-a-link-icon-to-headings/11551)._
