src/BloomExe/web/controllers/PageTemplatesApi.cs
/// <summary>
/// The pages from the template are unwanted if the template itself isn't visible.
/// </summary>
/// <remarks>
/// Experimental templates are invisible if the user doesn't want experimental features.
/// </remarks>
The pages from the template are unwanted if the template itself isn't visible.
The pages from the template are unwanted if the template itself isn ' t visible .
private static bool IsTemplateInvisible(string templatePath)
		{
			var folderPath = Path.GetDirectoryName(templatePath);
			var info = new BookInfo(folderPath, true, new NoEditSaveContext());
			return !info.ShowThisBookAsSource();
		}
private static bool IsTemplateInvisible ( string templatePath ) { var folderPath = Path . GetDirectoryName ( templatePath ) ; var info = new BookInfo ( folderPath , true , new NoEditSaveContext ( ) ) ; return ! info . ShowThisBookAsSource ( ) ; }
The pages from the template are unwanted if the template itself isn't visible.
The pages from the template are unwanted if the template itself isn ' t visible .
// This book info should never be asked about savability, so it doesn't matter much, // but it feels safer to say it can't be saved.
templatePath
string
<not_specific>
remarks
Experimental templates are invisible if the user doesn't want experimental features.
Experimental templates are invisible if the user doesn ' t want experimental features .