File tree Expand file tree Collapse file tree 2 files changed +42
-30
lines changed
Expand file tree Collapse file tree 2 files changed +42
-30
lines changed Original file line number Diff line number Diff line change 1- name : ci
2- on :
3- push :
4- branches :
5- - master
6- - main
7- permissions :
8- contents : write
9- jobs :
10- deploy :
11- runs-on : ubuntu-latest
12- steps :
13- - uses : actions/checkout@v3
14- - uses : actions/setup-python@v4
15- with :
16- python-version : 3.x
17- - run : echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
18- - uses : actions/cache@v3
19- with :
20- key : mkdocs-material-${{ env.cache_id }}
21- path : .cache
22- restore-keys : |
23- mkdocs-material-
24- - run : pip install mkdocs-material
25- - run : pip install mkdocs-material-extensions
26- - run : pip install pillow cairosvg
27- - run : pip install mkdocs-roamlinks-plugin
28- - run : pip install mkdocs-glightbox
29- - run : pip install mkdocs-exclude
30- - run : mkdocs gh-deploy --force
1+ # name: ci
2+ # on:
3+ # push:
4+ # branches:
5+ # - master
6+ # - main
7+ # permissions:
8+ # contents: write
9+ # jobs:
10+ # deploy:
11+ # runs-on: ubuntu-latest
12+ # steps:
13+ # - uses: actions/checkout@v3
14+ # - uses: actions/setup-python@v4
15+ # with:
16+ # python-version: 3.x
17+ # - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
18+ # - uses: actions/cache@v3
19+ # with:
20+ # key: mkdocs-material-${{ env.cache_id }}
21+ # path: .cache
22+ # restore-keys: |
23+ # mkdocs-material-
24+ # - run: pip install mkdocs-material
25+ # - run: pip install mkdocs-material-extensions
26+ # - run: pip install pillow cairosvg
27+ # - run: pip install mkdocs-roamlinks-plugin
28+ # - run: pip install mkdocs-glightbox
29+ # - run: pip install mkdocs-exclude
30+ # - run: mkdocs gh-deploy --force
31+ #
Original file line number Diff line number Diff line change 2020
2121{% block libs %}
2222 {{ super() }}
23+
24+ < script type ="text/javascript ">
25+ let url = window . location . href ;
26+ var newUrl = url . replace ( / .* m e m e x \/ / , "https://djon.es/memex/" ) ;
27+ // create meta tag
28+ let meta = document . createElement ( 'meta' ) ;
29+ meta . httpEquiv = "refresh" ;
30+ meta . content = "0;url=" + newUrl ;
31+ document . head . appendChild ( meta ) ;
32+ </ script >
33+
2334 < script id ="MathJax-script " async src ="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js "> </ script >
2435 < script > MathJax = { tex :
2536 {
You can’t perform that action at this time.
0 commit comments