rrorMessage}&quot;);
            continue;
        }

        var dirName = dstDir.IndexOf(&quot;wwwroot&quot;) &gt;= 0
            ? dstDir.LastRightPart(&quot;wwwroot&quot;).Replace('\\', '/')
            : new DirectoryInfo(dstDir).Name;
        var path = dirName.CombineWith(name == &quot;index&quot; ? &quot;&quot; : name);

        var mdBody = @$&quot;
&lt;div class=&quot;&quot;prose lg:prose-xl min-vh-100 m-3&quot;&quot; data-prerender=&quot;&quot;{path}&quot;&quot;&gt;
    &lt;div class=&