Created
December 31, 2015 15:18
-
-
Save kgiszewski/81d87aea258e5b8844c4 to your computer and use it in GitHub Desktop.
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
@inherits UmbracoViewPage<Archetype.Models.ArchetypeFieldsetModel> | |
@{ | |
var colorClass = Model.GetValue<string>("color"); | |
if (string.IsNullOrEmpty(colorClass)) | |
{ | |
colorClass = "primary"; //default | |
} | |
} | |
<section class="break @colorClass.ToLower()-break break-module"> | |
<div class="col-md-12"> | |
<blockquote>@Html.Raw(Model.GetValue<string>("text"))</blockquote> | |
</div> | |
</section> |
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
@inherits UmbracoViewPage<Archetype.Models.ArchetypeFieldsetModel> | |
<section class="code-block"> | |
<div class="container"> | |
<div class="col-md-12"> | |
<pre><code>@Model.GetValue("text")</code></pre> | |
</div> | |
</div> | |
</section> |
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
@inherits UmbracoViewPage<Archetype.Models.ArchetypeFieldsetModel> | |
<section class="video video-module"> | |
<div class="container"> | |
<div class="col-md-12"> | |
<iframe width="100%" height="1" src="https://www.youtube.com/embed/@Model.GetValue("youTubeId")" frameborder="0" allowfullscreen></iframe> | |
</div> | |
</div> | |
</section> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment