Skip to content
Snippets Groups Projects
Commit 5dd8e7a1 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis
Browse files

Link to both GitLab.com and Twitter usernames in blog posts

parent f6792fa7
No related branches found
No related tags found
2 merge requests!7789Resolve "Link to GitLab.com username instead of Twitter in blog posts",!4480WIP: Link to both GitLab.com and Twitter usernames in blog posts
Pipeline #
Loading
Loading
@@ -17,10 +17,13 @@
= current_article.date.to_time.strftime '%b %e, %Y'
%span -
%span.author
= current_article.data.author
- if current_article.data.author_gitlab
= link_to "https://gitlab.com/#{current_article.data.author_gitlab}" do
%i.fa.gitlab
- if current_article.data.author_twitter
= link_to(current_article.data.author, "https://twitter.com/#{current_article.data.author_twitter}")
- else
= current_article.data.author
= link_to "https://twitter.com/#{current_article.data.author_twitter}" do
%i.fa.twitter
%h1
= current_article.title
- if current_article.data.description
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment