Jekyll2021-10-04T15:46:21+00:00https://duende13.github.io/feed.xmlSusana RuizThis blog is a treasure trove of links, steps to learn, tutorials, guides, impressions, and all of it sprinkled with street art pieces.Susana RuizBlog Post Title From First Header2021-03-08T00:00:00+00:002021-03-08T00:00:00+00:00https://duende13.github.io/2021/03/08/blog-post-title-from-file-name<p>Due to a plugin called <code>jekyll-titles-from-headings</code> which is supported by GitHub Pages by default. The above header (in the markdown file) will be automatically used as the pages title.</p>
<p>If the file does not start with a header, then the post title will be derived from the filename.</p>
<p>This is a sample blog post. You can talk about all sorts of fun things here.</p>
<hr />
<h3 id="this-is-a-header">This is a header</h3>
<h4 id="some-t-sql-code">Some T-SQL Code</h4>
<pre><code class="language-tsql">SELECT This, [Is], A, Code, Block -- Using SSMS style syntax highlighting
, REVERSE('abc')
FROM dbo.SomeTable s
CROSS JOIN dbo.OtherTable o;
</code></pre>
<h4 id="some-powershell-code">Some PowerShell Code</h4>
<pre><code class="language-powershell">Write-Host "This is a powershell Code block";
# There are many other languages you can use, but the style has to be loaded first
ForEach ($thing in $things) {
Write-Output "It highlights it using the GitHub style"
}
</code></pre>Susana RuizDue to a plugin called jekyll-titles-from-headings which is supported by GitHub Pages by default. The above header (in the markdown file) will be automatically used as the pages title.