Skip to content

Commit

Permalink
Move all videos to a videos content directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
mblayman committed Oct 24, 2024
1 parent 956d574 commit e0b6cc8
Show file tree
Hide file tree
Showing 122 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/make_youtube_article.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def generate_article(video):

title = slugify(video.title)
filename = f"{video.published_at:%Y-%m-%d}-{title}.md"
filepath = constants.root / "content" / "blog" / filename
filepath = constants.root / "content" / "videos" / filename
with open(filepath, "w") as f:
short_description = video.description.split("\n")[0]
mapping = {
Expand Down
2 changes: 1 addition & 1 deletion themes/tailwind-site/layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

{{ end }}

<h1 class="article-title text-center text-black text-4xl font-semibold tracking-wide pt-4">{{ .Title }}</h1>
<h1 class="article-title text-center text-black text-4xl font-semibold tracking-wide pt-4 sm:px-20">{{ .Title }}</h1>

<div class="article-content mx-auto mt-8 pb-8 sm:px-20">
{{ if .Params.video }}
Expand Down

0 comments on commit e0b6cc8

Please sign in to comment.