zackbatist / open-archaeo

A list of open source archaeological software and resources
https://open-archaeo.info
Creative Commons Zero v1.0 Universal
85 stars 16 forks source link

modfied url > link code #9

Closed dirkseidensticker closed 3 years ago

dirkseidensticker commented 3 years ago

I went over your website https://open-archaeo.info/ and found that it might be beneficial if, once the user clicked on a link, a new tab opens instead the url opening in the existing tab. You might loose 'customers' like that.

Thus I modified your code generating the links using loops and nesting the link in plain html with the target="_blank" attribute.

As GitHub ignores the target attribute, I am unable to test if the links work as expected on your website. Thus you might want to check cautiously.

I would be happy if my change is appreciated and helpful.

zackbatist commented 3 years ago

Looks good, but one addition is necessary: Please add the following lines to config.toml. This will ensure that blogdown can read the html tags within markdown files.

[markup.goldmark.renderer]
    unsafe = true