Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
U
uw_wcms_gesso
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
WCMS
uw_wcms_gesso
Commits
5167263a
Commit
5167263a
authored
Oct 06, 2020
by
Eric Bremner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ISTWCMS-4124: updating view on source for Twitter
parent
f7dffcfe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
source/_patterns/04-components/twitter/twitter.twig
source/_patterns/04-components/twitter/twitter.twig
+6
-4
No files found.
source/_patterns/04-components/twitter/twitter.twig
View file @
5167263a
...
...
@@ -20,6 +20,9 @@
{%
if
feed_type
==
'embed-tweet'
%}
<blockquote
class=
"twitter-tweet"
data-dnt=
"true"
><a
href=
"https://twitter.com/
{{
tweet_code
}}
"
>
Read individual Tweet on Twitter
</a></blockquote>
<div
class=
"uw-twitter__view-on-source"
>
View on
<a
href=
"https://twitter.com/
{{
tweet_code
}}
"
>
Twitter
</a>
</div>
{%
else
%}
<div
class=
"twitter"
...
...
@@ -31,13 +34,12 @@
data-username=
"
{{
username
}}
"
>
<a
class=
"twitter-
{{
(
feed_type
==
'moment'
)
?
'moment'
:
'timeline'
}}
"
href=
"
{{
twitter_href
}}
"
data-theme=
"light"
data-link-color=
"#light"
data-height=
"650"
data-dnt=
"true"
>
{{
twitter_link
}}
</a>
</div>
<div
class=
"uw-twitter__view-on-source"
>
View on
<a
href=
"
{{
twitter_href
}}
"
>
Twitter
</a>
</div>
{%
endif
%}
<script
src=
"https://platform.twitter.com/widgets.js"
></script>
<div
class=
"uw-twitter__view-on-source"
>
View on
<a
href=
"
{{
twitter.href
}}
"
>
Twitter
</a>
</div>
</div>
</div>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment