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
@using Umbraco.Web.Models | |
@inherits UmbracoViewPage<IPublishedContent> | |
@{ | |
var internalMediaFolder = Umbraco.TypedMediaAtRoot().FirstOrDefault(x => x.DocumentTypeAlias == "InternalMediaFolder"); | |
if (internalMediaFolder != null) | |
{ | |
var appleTouchIcon = internalMediaFolder.Descendants().FirstOrDefault(x => x.DocumentTypeAlias == "AppleTouchIcon"); |
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
window.slimmage = {verbose:true, jpegQuality:90, jpegRetinaQuality :80}; |
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
syntax: regexp | |
^packages/(?!repositories.config).* | |
# use glob syntax | |
syntax: glob | |
# Umbraco | |
wwwRoot/App_Data/umbraco.config | |
wwwRoot/App_Data/preview/*.config | |
wwwRoot/App_Data/TEMP/ClientDependency/ |
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
@{ | |
if (feature.HasValue("Image")) | |
{ | |
var featureImage = Umbraco.TypedMedia((int)feature.Image); | |
var myCropUrl = featureImage.GetCropUrl("PageBannerCrop") ?? featureImage.GetCropUrl(200, 100); | |
<a href="@feature.Url" class="image image-full"><img src="@myCropUrl" alt="" /></a> | |
} | |
} |
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
<?xml version="1.0"?> | |
<log4net> | |
<root> | |
<priority value="Info" /> | |
<appender-ref ref="AsynchronousLog4NetAppender" /> | |
<appender-ref ref="SmtpAppender"/> | |
</root> | |
<!--To Change the way logging works for certain namespaces, insert a new logger like: --> | |
<!-- | |
<logger name="Umbraco.Core"> |
NewerOlder