Skip to content

Commit

Permalink
Update nmp deps
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed May 21, 2023
1 parent 7c68e60 commit a332c9c
Show file tree
Hide file tree
Showing 5 changed files with 841 additions and 1,233 deletions.
8 changes: 4 additions & 4 deletions assets/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
@import "components/all.css";

html {
font-size: 14px;
font-size: 14px;
}

@screen md {
html {
font-size: 16px;
}
html {
font-size: 16px;
}
}
8 changes: 4 additions & 4 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta charset="utf-8" />
<title>
{{ .Title }}
</title>
<meta name="description" content="{{ .Description }}">
<meta name="description" content="{{ .Description }}" />
{{/* styles */}}
{{ $options := dict "inlineImports" true }}
{{ $styles := resources.Get "css/styles.css" }}
{{ $styles = $styles | resources.PostCSS $options }}
{{ if hugo.IsProduction }}
{{ if or true hugo.IsProduction }}
{{ $styles = $styles | minify | fingerprint | resources.PostProcess }}
{{ end }}
<link href="{{ $styles.RelPermalink }}" rel="stylesheet" />
Expand Down
13 changes: 9 additions & 4 deletions layouts/index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
{{ define "main" }}
<article class="prose lg:prose-xl">
<h1 class="text-4xl">
{{ .Title }}!!
</h1>
<h1>Tailwind 3 Hugo Starter</h1>

<h2 class="text-4xl">Testing Tailwind 3 Features</h2>
<div>
<button class="bg-[#1da1f1] p-3">Share on Twitter</button>
</div>

<h2 class="text-4xl">Markdown: {{ .Title }}</h2>
{{ .Content }}
</article>
{{ end }}
{{ end }}
Loading

0 comments on commit a332c9c

Please sign in to comment.