mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
Add the option to open footer links in a new tab (#136)
This commit is contained in:
parent
9a1c84d6b7
commit
b2fe90ba88
2 changed files with 7 additions and 5 deletions
|
@ -41,7 +41,8 @@
|
||||||
{
|
{
|
||||||
"title": "Changelog",
|
"title": "Changelog",
|
||||||
"url": "https://github.com/derpibooru/philomena/commits/master",
|
"url": "https://github.com/derpibooru/philomena/commits/master",
|
||||||
"bold": true
|
"bold": true,
|
||||||
|
"target": "_blank"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "FAQs",
|
"title": "FAQs",
|
||||||
|
@ -90,7 +91,8 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "Twitter",
|
"title": "Twitter",
|
||||||
"url": "https://twitter.com/Derpibooru"
|
"url": "https://twitter.com/Derpibooru",
|
||||||
|
"target": "_blank"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,9 +9,9 @@ footer#footer
|
||||||
= for row <- footer_data[column] do
|
= for row <- footer_data[column] do
|
||||||
= if row["bold"] do
|
= if row["bold"] do
|
||||||
strong
|
strong
|
||||||
a href=row["url"] = row["title"]
|
a href=row["url"] target=row["target"]||"_self" = row["title"]
|
||||||
- else
|
- else
|
||||||
a href=row["url"] = row["title"]
|
a href=row["url"] target=row["target"]||"_self" = row["title"]
|
||||||
br
|
br
|
||||||
|
|
||||||
#serving_info
|
#serving_info
|
||||||
|
|
Loading…
Reference in a new issue