Skip to content

Commit

Permalink
Update markdown configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
José Luis Pereira committed Sep 2, 2022
1 parent e6b3374 commit fe9bee0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 12 deletions.
6 changes: 0 additions & 6 deletions pages/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ contact_email: user@example.com
copyright: All content is CC 0 so that it maybe be shared throughout the world in places like Wikipedia.
citation: Project collaborative. 2022. Website title. Available at https://example.com.
---
<div class="container mx-auto p-4">
<div class="prose dark:prose-invert lg:prose-base max-w-none">

# {{frontmatter.title}}

## Dig deeper
Expand Down Expand Up @@ -36,6 +33,3 @@ Want to create your own site? This website is built completely on open-source so

## Copyright
_{{frontmatter.copyright}}_

</div>
</div>
6 changes: 1 addition & 5 deletions pages/home.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ title: The title
lead: Taxa from your imagination to the web
project: Your project
---
<div class="container mx-auto p-4">
<div class="prose dark:prose-invert lg:prose-base max-w-none">


# {{frontmatter.title}}
_{{frontmatter.lead}}_
Expand All @@ -21,6 +20,3 @@ project: Your project

## Find out more
Learn how to collaborate with the {{ frontmatter.title }} project. Contact information, technical details, and more are available at [About](/about).

</div>
</div>
1 change: 1 addition & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ function withOpacity(variableName) {
module.exports = {
content: [
"./index.html",
"./vite.config.js",
"./src/**/*.{vue,js,ts,jsx,tsx,md}",
"./pages/*.{vue,md}",
"./config/*.yml",
Expand Down
4 changes: 3 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ export default () => {
Vue({
include: [/\.vue$/, /\.md$/]
}),
Markdown(),
Markdown({
wrapperClasses: '!container mx-auto pt-4 pb-4 prose dark:prose-invert box-border'
}),
Pages({
dirs: 'pages',
extensions: ['vue', 'md'],
Expand Down

0 comments on commit fe9bee0

Please sign in to comment.