Skip to content

Commit

Permalink
iss101 Adding tailwind CSS, WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
zss1980 committed Dec 2, 2024
1 parent 9699a44 commit a08bd40
Show file tree
Hide file tree
Showing 6 changed files with 856 additions and 1 deletion.
3 changes: 3 additions & 0 deletions assets/css/tailwind.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
10 changes: 10 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,13 @@ baseURL = "https://webtest.ivoa.info"
languageCode = "en-us"
title = "International Virtual Observatory Alliance"
author = "IVOA.net"
theme= "ananke"

[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true

[build]
writeStats = true
useResourceCacheWhen = "fallback"
3 changes: 2 additions & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="stylesheet" href="{{ .Site.Home.Permalink}}/css/fa.min.css">
<link rel="stylesheet" href="{{ .Site.Home.Permalink}}/css/ivoa.css">
<link href="{{ "css/tailwind.css" | resources.Get | css.PostCSS | resources.Minify | relURL }}" rel="stylesheet">

<title>IVOA.net - International Virtual Observatory Alliance</title>
</head>
6 changes: 6 additions & 0 deletions postcss.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"plugins": {
"tailwindcss": {},
"autoprefixer": {}
}
}
Loading

0 comments on commit a08bd40

Please sign in to comment.