Add my start page
This commit is contained in:
parent
3d08700813
commit
18b7df9395
|
@ -23,24 +23,8 @@ jobs:
|
|||
python -m pip install Sphinx furo
|
||||
make html
|
||||
|
||||
- name: Configure git
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
git config user.email mcsinyx@disroot.org
|
||||
git config user.name Nguyễn\ Gia\ Phong
|
||||
git remote set-url origin \
|
||||
https://token:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY
|
||||
git fetch origin gh-pages
|
||||
|
||||
- name: Deploy Site
|
||||
run: |
|
||||
git switch gh-pages
|
||||
git rm -r .
|
||||
shopt -s dotglob
|
||||
mv build/html/* .
|
||||
|
||||
rm -r build
|
||||
git add .
|
||||
git commit -m "Build at $(date --iso-8601=seconds)"
|
||||
git push origin gh-pages
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./build/html
|
||||
|
|
|
@ -17,7 +17,7 @@ extlinks = {'pip': ('https://github.com/pypa/pip/pull/%s', 'GH-'),
|
|||
'github': ('https://github.com/%s', '@')}
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
templates_path = ['_templates']
|
||||
templates_path = ['templates']
|
||||
|
||||
# List of patterns, relative to source directory, that match files and
|
||||
# directories to ignore when looking for source files.
|
||||
|
@ -32,7 +32,6 @@ html_theme_options = {'css_variables': {
|
|||
html_title = 'Raphael McSinyx'
|
||||
html_logo = 'CnX.png'
|
||||
html_favicon = 'favicon.ico'
|
||||
html_css_files = ['fab.css']
|
||||
html_show_copyright = False
|
||||
|
||||
# Add any paths that contain custom static files (such as style sheets)
|
||||
|
@ -40,3 +39,5 @@ html_show_copyright = False
|
|||
# static files, so a file named "default.css" will overwrite the builtin
|
||||
# "default.css".
|
||||
html_static_path = ['static']
|
||||
html_css_files = ['fab.css']
|
||||
html_additional_pages = {'start': 'start.html'}
|
||||
|
|
|
@ -9,7 +9,7 @@ McSinyx on the Fediverse_:
|
|||
* Email: mcsinyx@disroot.org
|
||||
* Mastodon: `@mcsinyx@librem.one <https://social.librem.one/@mcsinyx>`_
|
||||
|
||||
I also use pretty much every social medium I advocate against:
|
||||
I also use_ pretty much every social medium I advocate against:
|
||||
|
||||
.. raw:: html
|
||||
|
||||
|
@ -37,5 +37,6 @@ a `Creative Commons Attribution-ShareAlike 4.0 International License`_.
|
|||
.. _My name is: https://www.youtube.com/watch?v=LDj8kkVwisY
|
||||
.. _free software: https://www.gnu.org/philosophy/free-sw.html
|
||||
.. _Fediverse: https://en.wikipedia.org/wiki/Fediverse
|
||||
.. _use: start.html
|
||||
.. _Creative Commons Attribution-ShareAlike 4.0 International License:
|
||||
http://creativecommons.org/licenses/by-sa/4.0/
|
||||
|
|
|
@ -0,0 +1,52 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Start Page</title>
|
||||
<style type="text/css" media="screen">
|
||||
@namespace svg url(http://www.w3.org/2000/svg);
|
||||
svg {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
svg|a {
|
||||
outline: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 383 383" preserveAspectRatio="none">
|
||||
<a href="https://twitter.com">
|
||||
<rect x=0 y=0 width=128 height=128 style="fill:rgb(24,192,24)"/>
|
||||
</a>
|
||||
<a href="https://github.com">
|
||||
<rect x=128 y=0 width=128 height=128 style="fill:rgb(96,192,24)"/>
|
||||
</a>
|
||||
<a href="https://thedailyneopets.com/dailies">
|
||||
<rect x=256 y=0 width=128 height=128 style="fill:rgb(192,192,24)"/>
|
||||
</a>
|
||||
<a href="https://www.facebook.com">
|
||||
<rect x=0 y=128 width=128 height=128 style="fill:rgb(24,96,192)"/>
|
||||
</a>
|
||||
<a href="https://9gag.com">
|
||||
<rect x=128 y=128 width=128 height=128 style="fill:rgb(96,96,192)"/>
|
||||
</a>
|
||||
<a href="https://old.reddit.com">
|
||||
<rect x=256 y=128 width=128 height=128 style="fill:rgb(196,92,24)"/>
|
||||
</a>
|
||||
<a href="https://www.linkedin.com">
|
||||
<rect x=0 y=256 width=128 height=128 style="fill:rgb(24,24,96)"/>
|
||||
</a>
|
||||
<a href="https://www.instagram.com">
|
||||
<rect x=128 y=256 width=128 height=128 style="fill:rgb(96,24,96)"/>
|
||||
</a>
|
||||
<a href="https://youtube.com">
|
||||
<rect x=256 y=256 width=128 height=128 style="fill:rgb(192,24,24)"/>
|
||||
</a>
|
||||
</svg>
|
||||
</html>
|
|
@ -119,7 +119,7 @@ and a few *awesome* helper functions that make it easier to register timers,
|
|||
suspend widgets and so on. Vicious doesn't depend on any third party Lua__
|
||||
library, but may depend on additional system utilities.
|
||||
|
||||
__ https://vicious.readthedocs.io
|
||||
__ https://vicious.rtfd.io
|
||||
__ https://awesomewm.org
|
||||
__ https://www.lua.org
|
||||
|
||||
|
|
Loading…
Reference in New Issue