Created
November 6, 2018 01:59
-
-
Save jasongaylord/5d487ac6cad9e63dbf7bd08c604b43b1 to your computer and use it in GitHub Desktop.
Part of the https://gist.github.com/jasongaylord/df33fe4cd4bc7d253a10c3cdccc41104#file-default-cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@model List<TwitterViewComponent.Tweet> | |
<h3>Recent Tweets</h3> | |
<ul> | |
@foreach (var tweet in Model) | |
{ | |
<li> | |
@tweet.Message<br/> | |
<a href="http://twitter.com/@tweet.Username/statuses/@tweet.Id">@(tweet.Timestamp)</a> | |
</li> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment