mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-15 19:22:52 +02:00
update: site footer style
This commit is contained in:
parent
09fe7dcb37
commit
ba02b15c16
3 changed files with 90 additions and 9 deletions
|
@ -22,13 +22,13 @@ const year = Number(startYear) === currentYear
|
|||
|
||||
<footer
|
||||
class:list={[
|
||||
'bottom-22 text-3.5 leading-4.75 font-navbar',
|
||||
'bottom-22 text-3 lg:text-3.5 leading-4.75 font-navbar',
|
||||
className,
|
||||
]}
|
||||
>
|
||||
<p>
|
||||
<a href={linkAUrl}>{linkAName}</a>
|
||||
<a href={linkBUrl}>{linkBName}</a>
|
||||
<a href={linkAUrl}>{linkAName}</a> /
|
||||
<a href={linkBUrl}>{linkBName}</a> /
|
||||
<a href={linkCUrl}>{linkCName}</a>
|
||||
</p>
|
||||
<p>
|
||||
|
|
|
@ -74,16 +74,16 @@ export const themeConfig: ThemeConfig = {
|
|||
// FOOTER SETTINGS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> START
|
||||
footer: {
|
||||
linkA: {
|
||||
name: 'RSS',
|
||||
url: '/rss.xml',
|
||||
name: 'RSS', // Link name
|
||||
url: '/rss.xml', // Link URL
|
||||
},
|
||||
linkB: {
|
||||
name: 'GitHub',
|
||||
url: 'https://github.com/radishzzz/astro-theme-retypeset',
|
||||
name: 'GitHub', // Link name
|
||||
url: 'https://github.com/radishzzz/astro-theme-retypeset', // Link URL
|
||||
},
|
||||
linkC: {
|
||||
name: 'Telegram',
|
||||
url: 'https://t.me/radishzz',
|
||||
name: 'Telegram', // Link name
|
||||
url: 'https://t.me/radishzz', // Link URL
|
||||
},
|
||||
startYear: '2024', // The year when website was established
|
||||
},
|
||||
|
|
81
src/content/posts/markdown-extended.mdx
Normal file
81
src/content/posts/markdown-extended.mdx
Normal file
|
@ -0,0 +1,81 @@
|
|||
---
|
||||
title: Markdown Extended Features
|
||||
published: 2022-04-01
|
||||
tags: ["Markdown"]
|
||||
---
|
||||
|
||||
FROM https://github.com/saicaca/fuwari
|
||||
|
||||
## GitHub Repository Cards
|
||||
You can add dynamic cards that link to GitHub repositories, on page load, the repository information is pulled from the GitHub API.
|
||||
|
||||
::github{repo="Fabrizz/MMM-OnSpotify"}
|
||||
|
||||
Create a GitHub repository card with the code `::github{repo="<owner>/<repo>"}`.
|
||||
|
||||
```markdown
|
||||
::github{repo="saicaca/fuwari"}
|
||||
```
|
||||
|
||||
## Admonitions
|
||||
|
||||
Following types of admonitions are supported: `note` `tip` `important` `warning` `caution`
|
||||
|
||||
:::note
|
||||
Highlights information that users should take into account, even when skimming.
|
||||
:::
|
||||
|
||||
:::tip
|
||||
Optional information to help a user be more successful.
|
||||
:::
|
||||
|
||||
:::important
|
||||
Crucial information necessary for users to succeed.
|
||||
:::
|
||||
|
||||
:::warning
|
||||
Critical content demanding immediate user attention due to potential risks.
|
||||
:::
|
||||
|
||||
:::caution
|
||||
Negative potential consequences of an action.
|
||||
:::
|
||||
|
||||
### Basic Syntax
|
||||
|
||||
```markdown
|
||||
:::note
|
||||
Highlights information that users should take into account, even when skimming.
|
||||
:::
|
||||
|
||||
:::tip
|
||||
Optional information to help a user be more successful.
|
||||
:::
|
||||
```
|
||||
|
||||
### Custom Titles
|
||||
|
||||
The title of the admonition can be customized.
|
||||
|
||||
:::note[MY CUSTOM TITLE]
|
||||
This is a note with a custom title.
|
||||
:::
|
||||
|
||||
```markdown
|
||||
:::note[MY CUSTOM TITLE]
|
||||
This is a note with a custom title.
|
||||
:::
|
||||
```
|
||||
|
||||
### GitHub Syntax
|
||||
|
||||
> [!TIP]
|
||||
> [The GitHub syntax](https://github.com/orgs/community/discussions/16925) is also supported.
|
||||
|
||||
```
|
||||
> [!NOTE]
|
||||
> The GitHub syntax is also supported.
|
||||
|
||||
> [!TIP]
|
||||
> The GitHub syntax is also supported.
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue