Skip to content

Commit

Permalink
Start.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tadrian authored Oct 1, 2023
1 parent e97e1f4 commit acdf6de
Showing 1 changed file with 1 addition and 32 deletions.
33 changes: 1 addition & 32 deletions _posts/2021-03-08-blog-post-title-from-file-name.md
Original file line number Diff line number Diff line change
@@ -1,32 +1 @@
## Blog Post Title From First Header

Due 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.

If the file does not start with a header, then the post title will be derived from the filename.

This is a sample blog post. You can talk about all sorts of fun things here.

---

### This is a header

#### Some T-SQL Code

```tsql
SELECT This, [Is], A, Code, Block -- Using SSMS style syntax highlighting
, REVERSE('abc')
FROM dbo.SomeTable s
CROSS JOIN dbo.OtherTable o;
```

#### Some PowerShell Code

```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"
}
```
##Test

0 comments on commit acdf6de

Please sign in to comment.