Compare commits
No commits in common. "pages" and "main" have entirely different histories.
2
.domains
|
@ -1 +1 @@
|
||||||
pages.gripuqam.org.grip-uqam.ilot.io
|
gripuqam.org.grip-uqam.ilot.io
|
||||||
|
|
32
.forgejo/workflows/cleanup.yaml
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [ closed, merged ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
cleanup:
|
||||||
|
runs-on: x86_64
|
||||||
|
container:
|
||||||
|
image: alpine:latest
|
||||||
|
steps:
|
||||||
|
- name: Environment setup
|
||||||
|
run: |
|
||||||
|
apk add git nodejs jq coreutils curl tree gawk grep
|
||||||
|
- name: Pages repo pull
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
ref: pages
|
||||||
|
- name: Render website
|
||||||
|
run: |
|
||||||
|
export GITHUB_PR_NAME=$(grep -l ${{ github.sha }} previews/*/git_sha.txt | awk -F '/' '{print $2}')
|
||||||
|
echo $GITHUB_PR_NAME >> $GITHUB_ENV
|
||||||
|
rm -rf previews/$GITHUB_PR_NAME || true
|
||||||
|
cd previews
|
||||||
|
tree -d -H '.' -L 1 --noreport --charset utf-8 -T "Versions" -o index.html
|
||||||
|
- name: Website upload
|
||||||
|
run: |
|
||||||
|
git config user.name "forgejo-actions[bot]"
|
||||||
|
git config user.email "dev@ayakael.net"
|
||||||
|
git add .
|
||||||
|
git commit -m "Clean-up $GITHUB_PR_NAME"
|
||||||
|
git push
|
41
.forgejo/workflows/pages.yaml
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'main'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
render:
|
||||||
|
runs-on: x86_64
|
||||||
|
container:
|
||||||
|
image: alpine:latest
|
||||||
|
steps:
|
||||||
|
- name: Environment setup
|
||||||
|
run: |
|
||||||
|
apk add git ikiwiki po4a perl-yaml-tiny tree nodejs imagemagick-perlmagick imagemagick imagemagick-jpeg findutils bash imagemagick-webp
|
||||||
|
- name: Repo pull
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 1
|
||||||
|
- name: Pages repo pull
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
ref: pages
|
||||||
|
path: public
|
||||||
|
- name: Render website
|
||||||
|
run: ikiwiki --setup ikiwiki.setup
|
||||||
|
- name: Website upload
|
||||||
|
run: |
|
||||||
|
cp .pages-domains public/.domains
|
||||||
|
cp .pages-redirect public/_redirects
|
||||||
|
git log -1 --pretty=%B > commit.txt
|
||||||
|
cd public
|
||||||
|
find -name 'index.html' -type 'l' -delete
|
||||||
|
find -name 'index.fr.html' -exec bash -c 'ln -s "${0/.*\/}" "${0/.fr/}"' {} \;
|
||||||
|
date > generated.txt
|
||||||
|
# Note: the following account information will not work on GHES
|
||||||
|
git config user.name "forgejo-actions[bot]"
|
||||||
|
git config user.email "dev@ayakael.net"
|
||||||
|
git add .
|
||||||
|
git commit -F ../commit.txt
|
||||||
|
git push
|
47
.forgejo/workflows/preview.yaml
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [ assigned, opened, synchronize, reopened ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
preview:
|
||||||
|
runs-on: x86_64
|
||||||
|
container:
|
||||||
|
image: alpine:latest
|
||||||
|
steps:
|
||||||
|
- name: Environment setup
|
||||||
|
run: |
|
||||||
|
apk add git ikiwiki po4a perl-yaml-tiny tree nodejs jq coreutils curl imagemagick-perlmagick imagemagick imagemagick-jpeg findutils bash imagemagick-webp
|
||||||
|
echo "GITHUB_PR_NAME=$(curl -Ls ${{ github.server_url }}/api/v1/repos/${{ github.repository }}/pulls/${{ github.ref_name }} -H 'accept: application/json' -H 'Authorization: token ${{ secrets.FORGEJO_TOKEN }}' | jq .title | tr ' ' '-' | tr -d ':' | tr -d '"' | tr '[:upper:]' '[:lower:]' | tr '/' '-' | tr -d ',')" >> $GITHUB_ENV
|
||||||
|
- name: Repo pull
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 1
|
||||||
|
- name: Public repo pull
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
ref: pages
|
||||||
|
path: public
|
||||||
|
- name: Render website
|
||||||
|
run: |
|
||||||
|
rm -rf public/previews/$GITHUB_PR_NAME || true
|
||||||
|
mkdir -p public/previews/$GITHUB_PR_NAME
|
||||||
|
sed -i "s|destdir.*|destdir: ./public/previews/$GITHUB_PR_NAME|" ikiwiki.setup
|
||||||
|
ikiwiki --setup ikiwiki.setup
|
||||||
|
cd public/previews
|
||||||
|
tree -d -H '.' -L 1 --noreport --charset utf-8 -T "Versions" -o index.html
|
||||||
|
cd $GITHUB_PR_NAME
|
||||||
|
find -name 'index.html' -type 'l' -delete
|
||||||
|
find -name 'index.fr.html' -exec bash -c 'ln -s "${0/.*\/}" "${0/.fr/}"' {} \;
|
||||||
|
- name: Website upload
|
||||||
|
run: |
|
||||||
|
git log -1 --pretty=%B > commit.txt
|
||||||
|
cd public
|
||||||
|
date > previews/$GITHUB_PR_NAME/generated.txt
|
||||||
|
echo ${{ github.sha }} > previews/$GITHUB_PR_NAME/git_sha.txt
|
||||||
|
# Note: the following account information will not work on GHES
|
||||||
|
git config user.name "forgejo-actions[bot]"
|
||||||
|
git config user.email "dev@ayakael.net"
|
||||||
|
git add .
|
||||||
|
git commit -F ../commit.txt
|
||||||
|
git push
|
9
.gitignore
vendored
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
.ikiwiki/
|
||||||
|
public/
|
||||||
|
http-server/
|
||||||
|
*.mo
|
||||||
|
*.mo~
|
||||||
|
*.po~
|
||||||
|
*.pot~
|
||||||
|
*.pyc
|
||||||
|
*.swp
|
1
.pages-domains
Normal file
|
@ -0,0 +1 @@
|
||||||
|
pages.gripuqam.org.grip-uqam.ilot.io
|
15
footer.html
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<div class="text-center">
|
||||||
|
<h2>Liens intéressants</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href=https://www.facebook.com/GRIPUQAM" target="_blank">Page Facebook du GRIP-UQÀM</a></li>
|
||||||
|
<li><a href="https://www.facebook.com/groups/gripuqam" target="_blank">Groupe Facebook du GRIP-UQÀM</a></li>
|
||||||
|
<li><a href="https://assoarmu.wordpress.com/a-propos/" target="_blank">Association pour la Réappropriation des Milieux Urbains</a></li>
|
||||||
|
<li><a href="https://bibliothequedira.wordpress.com/" target="_blank">Bibliothèque DIRA</a></li>
|
||||||
|
<li><a href="https://www.resistancemontreal.org/calendrier" target="_blank">Calendrier Résistance Montréal</a></li>
|
||||||
|
<li><a href="https://www.clac-montreal.net/" target="_blank">Convergence des luttes anticapitalistes Montréal</a></li>
|
||||||
|
<li><a href="https://www.qpirgconcordia.org/" target="_blank">QPIRG Concordia GRIP</a></li>
|
||||||
|
<li><a href="https://qpirgmcgill.org/" target="_blank">QPIRG | GRIP McGill</a></li>
|
||||||
|
<li><a href="https://rqge.qc.ca/" target="_blank">Réseau Québecois des Groupes Écologistes</a></li>
|
||||||
|
<li><a href="https://www.pourlatransitionenergetique.org/" target="_blank">Front commun pour la transition énergétique</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
|
@ -1,132 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
|
|
||||||
<meta name='robots' content='max-image-preview:large' />
|
|
||||||
|
|
||||||
<!-- Facebook Meta Tags -->
|
|
||||||
<meta property="og:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta property="og:type" content="website">
|
|
||||||
<meta property="og:title" content="footer">
|
|
||||||
<meta property="og:description" content="GRIP-UQAM">
|
|
||||||
<meta property="og:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<!-- Twitter Meta Tags -->
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
|
||||||
<meta property="twitter:domain" content="cdpq-palestine.info">
|
|
||||||
<meta property="twitter:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta name="twitter:title" content="footer">
|
|
||||||
<meta name="twitter:description" content="GRIP-UQAM">
|
|
||||||
<meta name="twitter:image" content="/og-image.png">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>footer - GRIP-UQAM</title>
|
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="../favicon-96x96.png" sizes="96x96" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="../favicon.svg" />
|
|
||||||
<link rel="shortcut icon" href="../favicon.ico" />
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="../apple-touch-icon.png" />
|
|
||||||
<meta name="apple-mobile-web-app-title" content="GRIP-UQAM" />
|
|
||||||
<link rel="manifest" href="../site.webmanifest" />
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<!-- those checksums can be verified with: shasum -b -a 384 $file | xxd -r -p |
|
|
||||||
base64 -->
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
||||||
|
|
||||||
<!-- Custom styles for derivatives -->
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../css/local.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- opendyslexic font -->
|
|
||||||
<link href="../css/opendyslexic.css" rel="stylesheet" />
|
|
||||||
</head>
|
|
||||||
<body class="d-flex flex-column h-100">
|
|
||||||
<header>
|
|
||||||
<nav class="navbar navbar-expand-md navbar-light bg-danger text-white border" data-bs-theme="dark">
|
|
||||||
<div class="container-lg">
|
|
||||||
<a class="navbar-brand me-auto" href="../">
|
|
||||||
<img alt="GRIP-UQAM" src="../favicon-96x96.png" width="96" height="96" />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse">
|
|
||||||
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
|
|
||||||
<ul class="navbar-nav nav-link align-items-center ms-auto">
|
|
||||||
<li><a href="../">Accueil</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="flex-shrink-0 bg-secondary">
|
|
||||||
<div id="content">
|
|
||||||
<div class="text-center">
|
|
||||||
<h2>Liens intéressants</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href=https://www.facebook.com/GRIPUQAM" target="_blank">Page Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://www.facebook.com/groups/gripuqam" target="_blank">Groupe Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://assoarmu.wordpress.com/a-propos/" target="_blank">Association pour la Réappropriation des Milieux Urbains</a></li>
|
|
||||||
<li><a href="https://bibliothequedira.wordpress.com/" target="_blank">Bibliothèque DIRA</a></li>
|
|
||||||
<li><a href="https://www.resistancemontreal.org/calendrier" target="_blank">Calendrier Résistance Montréal</a></li>
|
|
||||||
<li><a href="https://www.clac-montreal.net/" target="_blank">Convergence des luttes anticapitalistes Montréal</a></li>
|
|
||||||
<li><a href="https://www.qpirgconcordia.org/" target="_blank">QPIRG Concordia GRIP</a></li>
|
|
||||||
<li><a href="https://qpirgmcgill.org/" target="_blank">QPIRG | GRIP McGill</a></li>
|
|
||||||
<li><a href="https://rqge.qc.ca/" target="_blank">Réseau Québecois des Groupes Écologistes</a></li>
|
|
||||||
<li><a href="https://www.pourlatransitionenergetique.org/" target="_blank">Front commun pour la transition énergétique</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="footer mt-auto py-2 bg-primary bg-opacity-25" role="contentinfo">
|
|
||||||
<div class="container-lg h-100">
|
|
||||||
<div class="text-center">
|
|
||||||
<h2>Liens intéressants</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href=https://www.facebook.com/GRIPUQAM" target="_blank">Page Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://www.facebook.com/groups/gripuqam" target="_blank">Groupe Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://assoarmu.wordpress.com/a-propos/" target="_blank">Association pour la Réappropriation des Milieux Urbains</a></li>
|
|
||||||
<li><a href="https://bibliothequedira.wordpress.com/" target="_blank">Bibliothèque DIRA</a></li>
|
|
||||||
<li><a href="https://www.resistancemontreal.org/calendrier" target="_blank">Calendrier Résistance Montréal</a></li>
|
|
||||||
<li><a href="https://www.clac-montreal.net/" target="_blank">Convergence des luttes anticapitalistes Montréal</a></li>
|
|
||||||
<li><a href="https://www.qpirgconcordia.org/" target="_blank">QPIRG Concordia GRIP</a></li>
|
|
||||||
<li><a href="https://qpirgmcgill.org/" target="_blank">QPIRG | GRIP McGill</a></li>
|
|
||||||
<li><a href="https://rqge.qc.ca/" target="_blank">Réseau Québecois des Groupes Écologistes</a></li>
|
|
||||||
<li><a href="https://www.pourlatransitionenergetique.org/" target="_blank">Front commun pour la transition énergétique</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1 +0,0 @@
|
||||||
Mon Mar 31 19:31:25 UTC 2025
|
|
|
@ -1,171 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
|
|
||||||
<meta name='robots' content='max-image-preview:large' />
|
|
||||||
|
|
||||||
<!-- Facebook Meta Tags -->
|
|
||||||
<meta property="og:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta property="og:type" content="website">
|
|
||||||
<meta property="og:title" content="directive">
|
|
||||||
<meta property="og:description" content="GRIP-UQAM">
|
|
||||||
<meta property="og:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<!-- Twitter Meta Tags -->
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
|
||||||
<meta property="twitter:domain" content="cdpq-palestine.info">
|
|
||||||
<meta property="twitter:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta name="twitter:title" content="directive">
|
|
||||||
<meta name="twitter:description" content="GRIP-UQAM">
|
|
||||||
<meta name="twitter:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<meta name="robots" content="noindex, follow" />
|
|
||||||
|
|
||||||
<title>directive - GRIP-UQAM</title>
|
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="../../favicon-96x96.png" sizes="96x96" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="../../favicon.svg" />
|
|
||||||
<link rel="shortcut icon" href="../../favicon.ico" />
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="../../apple-touch-icon.png" />
|
|
||||||
<meta name="apple-mobile-web-app-title" content="GRIP-UQAM" />
|
|
||||||
<link rel="manifest" href="../../site.webmanifest" />
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<!-- those checksums can be verified with: shasum -b -a 384 $file | xxd -r -p |
|
|
||||||
base64 -->
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
||||||
|
|
||||||
<!-- Custom styles for derivatives -->
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../css/local.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- opendyslexic font -->
|
|
||||||
<link href="../../css/opendyslexic.css" rel="stylesheet" />
|
|
||||||
</head>
|
|
||||||
<body class="d-flex flex-column h-100">
|
|
||||||
<header>
|
|
||||||
<nav class="navbar navbar-expand-md navbar-light bg-danger text-white border" data-bs-theme="dark">
|
|
||||||
<div class="container-lg">
|
|
||||||
<a class="navbar-brand me-auto" href="../../">
|
|
||||||
<img alt="GRIP-UQAM" src="../../favicon-96x96.png" width="96" height="96" />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse">
|
|
||||||
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
|
|
||||||
<ul class="navbar-nav nav-link align-items-center ms-auto">
|
|
||||||
<li><a href="../../">Accueil</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="flex-shrink-0 bg-secondary">
|
|
||||||
<div id="content">
|
|
||||||
<p>Directives are similar to a <a href="../wikilink/">WikiLink</a> in form, except they
|
|
||||||
begin with <code>!</code> and may contain parameters. The general form is:</p>
|
|
||||||
|
|
||||||
<pre><code>[[!directive param="value" param="value"]]
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<p>This gets expanded before the rest of the page is processed, and can be used
|
|
||||||
to transform the page in various ways.</p>
|
|
||||||
|
|
||||||
<p>The quotes around values can be omitted if the value is a simple word.
|
|
||||||
Also, some directives may use parameters without values, for example:</p>
|
|
||||||
|
|
||||||
<pre><code>[[!tag foo]]
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<p>A directive does not need to all be on one line, it can be
|
|
||||||
wrapped to multiple lines if you like:</p>
|
|
||||||
|
|
||||||
<pre><code>[[!directive foo="baldersnatch"
|
|
||||||
bar="supercalifragilisticexpialidocious" baz=11]]
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<p>Also, multiple lines of <em>quoted</em> text can be used for a value.
|
|
||||||
To allow quote marks inside the quoted text, delimit the block
|
|
||||||
of text with triple-double-quotes or triple-single-quotes:</p>
|
|
||||||
|
|
||||||
<pre><code>[[!directive text="""
|
|
||||||
1. "foo"
|
|
||||||
2. "bar"
|
|
||||||
3. "baz"
|
|
||||||
""" othertext='''
|
|
||||||
1. 'quux'
|
|
||||||
2. "foo"
|
|
||||||
''']]
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<p>If you want to put text with triple quotes into a parameter value, you can
|
|
||||||
use perl-style here-doc syntax, even nesting it like this:</p>
|
|
||||||
|
|
||||||
<pre><code>[[!directive text=<<OUTER
|
|
||||||
[[!otherdirective <<INNER
|
|
||||||
inner text
|
|
||||||
INNER]]
|
|
||||||
outer text
|
|
||||||
OUTER]]
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<p>ikiwiki also has an older syntax for directives, which requires a space in
|
|
||||||
directives to distinguish them from <a href="../wikilink/">wikilinks</a>. This
|
|
||||||
syntax has several disadvantages: it requires a space after directives with
|
|
||||||
no parameters (such as <code>[[pagecount ]]</code>), and it prohibits spaces in
|
|
||||||
<a href="../wikilink/">wikilinks</a>. ikiwiki now provides the <code>!</code>-prefixed
|
|
||||||
syntax shown above as default. However, ikiwiki still supports wikis using
|
|
||||||
the older syntax, if the <code>prefix_directives</code> option is disabled.</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="footer mt-auto py-2 bg-primary bg-opacity-25" role="contentinfo">
|
|
||||||
<div class="container-lg h-100">
|
|
||||||
<div class="text-center">
|
|
||||||
<h2>Liens intéressants</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href=https://www.facebook.com/GRIPUQAM" target="_blank">Page Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://www.facebook.com/groups/gripuqam" target="_blank">Groupe Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://assoarmu.wordpress.com/a-propos/" target="_blank">Association pour la Réappropriation des Milieux Urbains</a></li>
|
|
||||||
<li><a href="https://bibliothequedira.wordpress.com/" target="_blank">Bibliothèque DIRA</a></li>
|
|
||||||
<li><a href="https://www.resistancemontreal.org/calendrier" target="_blank">Calendrier Résistance Montréal</a></li>
|
|
||||||
<li><a href="https://www.clac-montreal.net/" target="_blank">Convergence des luttes anticapitalistes Montréal</a></li>
|
|
||||||
<li><a href="https://www.qpirgconcordia.org/" target="_blank">QPIRG Concordia GRIP</a></li>
|
|
||||||
<li><a href="https://qpirgmcgill.org/" target="_blank">QPIRG | GRIP McGill</a></li>
|
|
||||||
<li><a href="https://rqge.qc.ca/" target="_blank">Réseau Québecois des Groupes Écologistes</a></li>
|
|
||||||
<li><a href="https://www.pourlatransitionenergetique.org/" target="_blank">Front commun pour la transition énergétique</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,216 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
|
|
||||||
<meta name='robots' content='max-image-preview:large' />
|
|
||||||
|
|
||||||
<!-- Facebook Meta Tags -->
|
|
||||||
<meta property="og:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta property="og:type" content="website">
|
|
||||||
<meta property="og:title" content="Formatting wiki pages">
|
|
||||||
<meta property="og:description" content="GRIP-UQAM">
|
|
||||||
<meta property="og:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<!-- Twitter Meta Tags -->
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
|
||||||
<meta property="twitter:domain" content="cdpq-palestine.info">
|
|
||||||
<meta property="twitter:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta name="twitter:title" content="Formatting wiki pages">
|
|
||||||
<meta name="twitter:description" content="GRIP-UQAM">
|
|
||||||
<meta name="twitter:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<meta name="robots" content="noindex, follow" />
|
|
||||||
|
|
||||||
<title>Formatting wiki pages - GRIP-UQAM</title>
|
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="../../favicon-96x96.png" sizes="96x96" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="../../favicon.svg" />
|
|
||||||
<link rel="shortcut icon" href="../../favicon.ico" />
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="../../apple-touch-icon.png" />
|
|
||||||
<meta name="apple-mobile-web-app-title" content="GRIP-UQAM" />
|
|
||||||
<link rel="manifest" href="../../site.webmanifest" />
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<!-- those checksums can be verified with: shasum -b -a 384 $file | xxd -r -p |
|
|
||||||
base64 -->
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
||||||
|
|
||||||
<!-- Custom styles for derivatives -->
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../css/local.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- opendyslexic font -->
|
|
||||||
<link href="../../css/opendyslexic.css" rel="stylesheet" />
|
|
||||||
</head>
|
|
||||||
<body class="d-flex flex-column h-100">
|
|
||||||
<header>
|
|
||||||
<nav class="navbar navbar-expand-md navbar-light bg-danger text-white border" data-bs-theme="dark">
|
|
||||||
<div class="container-lg">
|
|
||||||
<a class="navbar-brand me-auto" href="../../">
|
|
||||||
<img alt="GRIP-UQAM" src="../../favicon-96x96.png" width="96" height="96" />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse">
|
|
||||||
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
|
|
||||||
<ul class="navbar-nav nav-link align-items-center ms-auto">
|
|
||||||
<li><a href="../../">Accueil</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="flex-shrink-0 bg-secondary">
|
|
||||||
<div id="content">
|
|
||||||
<p>Text on this wiki is, by default, written in a form very close to how you
|
|
||||||
might write text for an email message. This style of text formatting is
|
|
||||||
called <a href="../markdown/">MarkDown</a>, and it works like this:</p>
|
|
||||||
|
|
||||||
<p>Leave blank lines between paragraphs.</p>
|
|
||||||
|
|
||||||
<p>You can <em>*emphasise*</em> or <strong>**strongly emphasise**</strong> text by placing it
|
|
||||||
in single or double asterisks.</p>
|
|
||||||
|
|
||||||
<p>To create a list, start each line with an asterisk:</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>"* this is my list"</li>
|
|
||||||
<li>"* another item"</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p>To make a numbered list, start each line with a number (any number will
|
|
||||||
do) followed by a period:</p>
|
|
||||||
|
|
||||||
<ol>
|
|
||||||
<li>"1. first line"</li>
|
|
||||||
<li>"2. second line"</li>
|
|
||||||
<li>"2. third line"</li>
|
|
||||||
</ol>
|
|
||||||
|
|
||||||
<p>To create a header, start a line with one or more <code>#</code> characters followed
|
|
||||||
by a space and the header text. The number of <code>#</code> characters controls the
|
|
||||||
size of the header:</p>
|
|
||||||
|
|
||||||
<h1># h1</h1>
|
|
||||||
|
|
||||||
<h2>## h2</h2>
|
|
||||||
|
|
||||||
<h3>### h3</h3>
|
|
||||||
|
|
||||||
<h4>#### h4</h4>
|
|
||||||
|
|
||||||
<h5>##### h5</h5>
|
|
||||||
|
|
||||||
<h6>###### h6</h6>
|
|
||||||
|
|
||||||
<p>To create a horizontal rule, just write three or more dashes or stars on
|
|
||||||
their own line:</p>
|
|
||||||
|
|
||||||
<hr />
|
|
||||||
|
|
||||||
<p>To quote someone, prefix the quote with ">":</p>
|
|
||||||
|
|
||||||
<blockquote>
|
|
||||||
<p>To be or not to be,
|
|
||||||
that is the question.</p>
|
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<p>To write a code block, indent each line with a tab or 4 spaces:</p>
|
|
||||||
|
|
||||||
<pre><code>10 PRINT "Hello, world!"
|
|
||||||
20 GOTO 10
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<p>To link to an url or email address, you can just put the
|
|
||||||
url in angle brackets: <<a href="http://ikiwiki.info">http://ikiwiki.info</a>>, or you can use the
|
|
||||||
form [link text](url)</p>
|
|
||||||
|
|
||||||
<hr />
|
|
||||||
|
|
||||||
<p>In addition to basic html formatting using <a href="../markdown/">MarkDown</a>, this wiki lets
|
|
||||||
you use the following additional features:</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><p>To link to another page on the wiki, place the page's name inside double
|
|
||||||
square brackets. So you would use <code>[[WikiLink]]</code> to link to <a href="../wikilink/">WikiLink</a>.</p></li>
|
|
||||||
<li><p>Insert <a href="../../smileys/">smileys</a> and some other useful symbols. <img src="../../smileys/smile.png" alt=":-)" /></p></li>
|
|
||||||
<li><p>Use <a href="../../shortcuts/">shortcuts</a> to link to common resources.</p>
|
|
||||||
|
|
||||||
<p>[[!wikipedia War_of_1812]]</p></li>
|
|
||||||
<li><p>Create and fill out <a href="../../templates/">templates</a> for repeated chunks of
|
|
||||||
parameterized wiki text.</p></li>
|
|
||||||
<li><p>Insert various <a href="../directive/">directives</a> onto a page to perform useful
|
|
||||||
actions.
|
|
||||||
For example, you can:</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Add a table of contents to a page:</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p>[[!toc ]]</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Change the title of a page:</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p>[[!meta title="full page title"]]</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Create a blog by inlining a set of pages:</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p>[[!inline pages="blog/*"]]</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="footer mt-auto py-2 bg-primary bg-opacity-25" role="contentinfo">
|
|
||||||
<div class="container-lg h-100">
|
|
||||||
<div class="text-center">
|
|
||||||
<h2>Liens intéressants</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href=https://www.facebook.com/GRIPUQAM" target="_blank">Page Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://www.facebook.com/groups/gripuqam" target="_blank">Groupe Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://assoarmu.wordpress.com/a-propos/" target="_blank">Association pour la Réappropriation des Milieux Urbains</a></li>
|
|
||||||
<li><a href="https://bibliothequedira.wordpress.com/" target="_blank">Bibliothèque DIRA</a></li>
|
|
||||||
<li><a href="https://www.resistancemontreal.org/calendrier" target="_blank">Calendrier Résistance Montréal</a></li>
|
|
||||||
<li><a href="https://www.clac-montreal.net/" target="_blank">Convergence des luttes anticapitalistes Montréal</a></li>
|
|
||||||
<li><a href="https://www.qpirgconcordia.org/" target="_blank">QPIRG Concordia GRIP</a></li>
|
|
||||||
<li><a href="https://qpirgmcgill.org/" target="_blank">QPIRG | GRIP McGill</a></li>
|
|
||||||
<li><a href="https://rqge.qc.ca/" target="_blank">Réseau Québecois des Groupes Écologistes</a></li>
|
|
||||||
<li><a href="https://www.pourlatransitionenergetique.org/" target="_blank">Front commun pour la transition énergétique</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,58 +0,0 @@
|
||||||
// © 2006-2010 Joey Hess
|
|
||||||
// Redistribution and use in source and compiled forms, with or without
|
|
||||||
// modification, are permitted under any circumstances. No warranty.
|
|
||||||
//
|
|
||||||
// ikiwiki's javascript utility function library
|
|
||||||
|
|
||||||
var hooks;
|
|
||||||
|
|
||||||
// Run onload as soon as the DOM is ready, if possible.
|
|
||||||
// gecko, opera 9
|
|
||||||
if (document.addEventListener) {
|
|
||||||
document.addEventListener("DOMContentLoaded", run_hooks_onload, false);
|
|
||||||
}
|
|
||||||
// other browsers
|
|
||||||
window.onload = run_hooks_onload;
|
|
||||||
|
|
||||||
var onload_done = 0;
|
|
||||||
|
|
||||||
function run_hooks_onload() {
|
|
||||||
// avoid firing twice
|
|
||||||
if (onload_done)
|
|
||||||
return;
|
|
||||||
onload_done = true;
|
|
||||||
|
|
||||||
run_hooks("onload");
|
|
||||||
}
|
|
||||||
|
|
||||||
function run_hooks(name) {
|
|
||||||
if (typeof(hooks) != "undefined") {
|
|
||||||
for (var i = 0; i < hooks.length; i++) {
|
|
||||||
if (hooks[i].name == name) {
|
|
||||||
hooks[i].call();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function hook(name, call) {
|
|
||||||
if (typeof(hooks) == "undefined")
|
|
||||||
hooks = new Array;
|
|
||||||
hooks.push({name: name, call: call});
|
|
||||||
}
|
|
||||||
|
|
||||||
function getElementsByClass(cls, node, tag) {
|
|
||||||
if (document.getElementsByClass)
|
|
||||||
return document.getElementsByClass(cls, node, tag);
|
|
||||||
if (! node) node = document;
|
|
||||||
if (! tag) tag = '*';
|
|
||||||
var ret = new Array();
|
|
||||||
var pattern = new RegExp("(^|\\s)"+cls+"(\\s|$)");
|
|
||||||
var els = node.getElementsByTagName(tag);
|
|
||||||
for (i = 0; i < els.length; i++) {
|
|
||||||
if ( pattern.test(els[i].className) ) {
|
|
||||||
ret.push(els[i]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return ret;
|
|
||||||
}
|
|
|
@ -1,132 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
|
|
||||||
<meta name='robots' content='max-image-preview:large' />
|
|
||||||
|
|
||||||
<!-- Facebook Meta Tags -->
|
|
||||||
<meta property="og:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta property="og:type" content="website">
|
|
||||||
<meta property="og:title" content="ikiwiki">
|
|
||||||
<meta property="og:description" content="GRIP-UQAM">
|
|
||||||
<meta property="og:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<!-- Twitter Meta Tags -->
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
|
||||||
<meta property="twitter:domain" content="cdpq-palestine.info">
|
|
||||||
<meta property="twitter:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta name="twitter:title" content="ikiwiki">
|
|
||||||
<meta name="twitter:description" content="GRIP-UQAM">
|
|
||||||
<meta name="twitter:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<meta name="robots" content="noindex, follow" />
|
|
||||||
|
|
||||||
<title>ikiwiki - GRIP-UQAM</title>
|
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="../favicon-96x96.png" sizes="96x96" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="../favicon.svg" />
|
|
||||||
<link rel="shortcut icon" href="../favicon.ico" />
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="../apple-touch-icon.png" />
|
|
||||||
<meta name="apple-mobile-web-app-title" content="GRIP-UQAM" />
|
|
||||||
<link rel="manifest" href="../site.webmanifest" />
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<!-- those checksums can be verified with: shasum -b -a 384 $file | xxd -r -p |
|
|
||||||
base64 -->
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
||||||
|
|
||||||
<!-- Custom styles for derivatives -->
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../css/local.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- opendyslexic font -->
|
|
||||||
<link href="../css/opendyslexic.css" rel="stylesheet" />
|
|
||||||
</head>
|
|
||||||
<body class="d-flex flex-column h-100">
|
|
||||||
<header>
|
|
||||||
<nav class="navbar navbar-expand-md navbar-light bg-danger text-white border" data-bs-theme="dark">
|
|
||||||
<div class="container-lg">
|
|
||||||
<a class="navbar-brand me-auto" href="../">
|
|
||||||
<img alt="GRIP-UQAM" src="../favicon-96x96.png" width="96" height="96" />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse">
|
|
||||||
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
|
|
||||||
<ul class="navbar-nav nav-link align-items-center ms-auto">
|
|
||||||
<li><a href="../">Accueil</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="flex-shrink-0 bg-secondary">
|
|
||||||
<div id="content">
|
|
||||||
<p>This wiki is powered by <a href="http://ikiwiki.info/">ikiwiki</a>.</p>
|
|
||||||
|
|
||||||
<p>Some documentation on using ikiwiki:</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><a href="./formatting/">formatting</a></li>
|
|
||||||
<li><a href="./wikilink/">wikilink</a></li>
|
|
||||||
<li><a href="./subpage/">subpage</a></li>
|
|
||||||
<li><a href="./pagespec/">pagespec</a></li>
|
|
||||||
<li><a href="./directive/">directive</a></li>
|
|
||||||
<li><a href="./markdown/">markdown</a></li>
|
|
||||||
<li><a href="./openid/">openid</a></li>
|
|
||||||
<li><a href="./searching/">searching</a></li>
|
|
||||||
<li><a href="../templates/">templates</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="footer mt-auto py-2 bg-primary bg-opacity-25" role="contentinfo">
|
|
||||||
<div class="container-lg h-100">
|
|
||||||
<div class="text-center">
|
|
||||||
<h2>Liens intéressants</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href=https://www.facebook.com/GRIPUQAM" target="_blank">Page Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://www.facebook.com/groups/gripuqam" target="_blank">Groupe Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://assoarmu.wordpress.com/a-propos/" target="_blank">Association pour la Réappropriation des Milieux Urbains</a></li>
|
|
||||||
<li><a href="https://bibliothequedira.wordpress.com/" target="_blank">Bibliothèque DIRA</a></li>
|
|
||||||
<li><a href="https://www.resistancemontreal.org/calendrier" target="_blank">Calendrier Résistance Montréal</a></li>
|
|
||||||
<li><a href="https://www.clac-montreal.net/" target="_blank">Convergence des luttes anticapitalistes Montréal</a></li>
|
|
||||||
<li><a href="https://www.qpirgconcordia.org/" target="_blank">QPIRG Concordia GRIP</a></li>
|
|
||||||
<li><a href="https://qpirgmcgill.org/" target="_blank">QPIRG | GRIP McGill</a></li>
|
|
||||||
<li><a href="https://rqge.qc.ca/" target="_blank">Réseau Québecois des Groupes Écologistes</a></li>
|
|
||||||
<li><a href="https://www.pourlatransitionenergetique.org/" target="_blank">Front commun pour la transition énergétique</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
23
ikiwiki/jquery.min.js
vendored
|
@ -1,225 +0,0 @@
|
||||||
/*
|
|
||||||
Based on the Simple OpenID Plugin
|
|
||||||
http://code.google.com/p/openid-selector/
|
|
||||||
|
|
||||||
This code is licenced under the New BSD License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
var selections_email_large = {
|
|
||||||
email: {
|
|
||||||
name: 'Email',
|
|
||||||
icon: 'wikiicons/email.png',
|
|
||||||
label: 'Enter your email address:',
|
|
||||||
url: null
|
|
||||||
}
|
|
||||||
};
|
|
||||||
var selections_openid_large = {
|
|
||||||
openid: {
|
|
||||||
name: 'OpenID',
|
|
||||||
icon: 'wikiicons/openidlogin-bg.gif',
|
|
||||||
label: 'Enter your OpenID:',
|
|
||||||
url: null
|
|
||||||
}
|
|
||||||
};
|
|
||||||
var selections = $.extend({}, selections_email_large, selections_openid_large);
|
|
||||||
|
|
||||||
var selector = {
|
|
||||||
|
|
||||||
ajaxHandler: null,
|
|
||||||
cookie_expires: 6*30, // 6 months.
|
|
||||||
cookie_name: 'openid_selection', // historical name
|
|
||||||
cookie_path: '/',
|
|
||||||
|
|
||||||
img_path: 'images/',
|
|
||||||
|
|
||||||
input_id: null,
|
|
||||||
selection_url: null,
|
|
||||||
selection_id: null,
|
|
||||||
othersignin_id: null,
|
|
||||||
|
|
||||||
init: function(input_id, login_methods, othersignin_id, othersignin_label) {
|
|
||||||
|
|
||||||
var selector_btns = $('#login_btns');
|
|
||||||
|
|
||||||
this.input_id = input_id;
|
|
||||||
|
|
||||||
$('#login_choice').show();
|
|
||||||
$('#login_input_area').empty();
|
|
||||||
|
|
||||||
// add box for each selection
|
|
||||||
if (login_methods['openid']) {
|
|
||||||
for (id in selections_openid_large) {
|
|
||||||
selector_btns.append(this.getBoxHTML(selections_openid_large[id], 'large'));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (login_methods['email']) {
|
|
||||||
for (id in selections_email_large) {
|
|
||||||
selector_btns.prepend(this.getBoxHTML(selections_email_large[id], 'large'));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (othersignin_label != "") {
|
|
||||||
this.othersignin_label=othersignin_label;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
this.othersignin_label="other";
|
|
||||||
}
|
|
||||||
if (othersignin_id != "") {
|
|
||||||
this.othersignin_id=othersignin_id;
|
|
||||||
selector_btns.prepend(
|
|
||||||
'<a href="javascript: selector.signin(\'othersignin\');"' +
|
|
||||||
' style="background: #FFF" ' +
|
|
||||||
'class="othersignin login_large_btn">' +
|
|
||||||
'<img alt="" width="16" height="16" src="favicon.ico" />' +
|
|
||||||
' ' + this.othersignin_label +
|
|
||||||
'</a>'
|
|
||||||
);
|
|
||||||
$('#'+this.othersignin_id).hide();
|
|
||||||
}
|
|
||||||
|
|
||||||
$('#login_selector_form').submit(this.submit);
|
|
||||||
|
|
||||||
var box_id = this.readCookie();
|
|
||||||
if (box_id) {
|
|
||||||
this.signin(box_id, true);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
getBoxHTML: function(selection, box_size) {
|
|
||||||
var label="";
|
|
||||||
var title=""
|
|
||||||
if (box_size == 'large') {
|
|
||||||
label=' ' + selection["name"];
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
title=' title="'+selection["name"]+'"';
|
|
||||||
}
|
|
||||||
var box_id = selection["name"].toLowerCase();
|
|
||||||
return '<a' + title +' href="javascript: selector.signin(\''+ box_id +'\');"' +
|
|
||||||
' style="background: #FFF" ' +
|
|
||||||
'class="' + box_id + ' login_' + box_size + '_btn">' +
|
|
||||||
'<img alt="" width="16" height="16" src="' + selection["icon"] + '" />' +
|
|
||||||
label +
|
|
||||||
'</a>';
|
|
||||||
|
|
||||||
},
|
|
||||||
/* selection image click */
|
|
||||||
signin: function(box_id, onload) {
|
|
||||||
|
|
||||||
if (box_id == 'othersignin') {
|
|
||||||
this.highlight(box_id);
|
|
||||||
$('#login_input_area').empty();
|
|
||||||
$('#'+this.othersignin_id).show();
|
|
||||||
this.setCookie(box_id);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
if (this.othersignin_id) {
|
|
||||||
$('#'+this.othersignin_id).hide();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
var selection = selections[box_id];
|
|
||||||
if (! selection) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
this.highlight(box_id);
|
|
||||||
|
|
||||||
this.selection_id = box_id;
|
|
||||||
this.selection_url = selection['url'];
|
|
||||||
|
|
||||||
// prompt user for input?
|
|
||||||
if (selection['label']) {
|
|
||||||
this.setCookie(box_id);
|
|
||||||
this.useInputBox(selection);
|
|
||||||
} else {
|
|
||||||
this.setCookie('');
|
|
||||||
$('#login_input_area').empty();
|
|
||||||
if (! onload) {
|
|
||||||
$('#login_selector_form').submit();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
/* Sign-in button click */
|
|
||||||
submit: function() {
|
|
||||||
var url = selector.selection_url;
|
|
||||||
if (url) {
|
|
||||||
url = url.replace('{username}', $('#entry').val());
|
|
||||||
selector.setOpenIdUrl(url);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
selector.setOpenIdUrl("");
|
|
||||||
}
|
|
||||||
if (selector.ajaxHandler) {
|
|
||||||
selector.ajaxHandler(selector.selection_id, document.getElementById(selector.input_id).value);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
},
|
|
||||||
setOpenIdUrl: function (url) {
|
|
||||||
|
|
||||||
var hidden = $('#'+this.input_id);
|
|
||||||
if (hidden.length > 0) {
|
|
||||||
hidden.value = url;
|
|
||||||
} else {
|
|
||||||
$('#login_selector_form').append('<input style="display:none" id="' + this.input_id + '" name="' + this.input_id + '" value="'+url+'"/>');
|
|
||||||
}
|
|
||||||
},
|
|
||||||
highlight: function (box_id) {
|
|
||||||
|
|
||||||
// remove previous highlight.
|
|
||||||
var highlight = $('#login_highlight');
|
|
||||||
if (highlight) {
|
|
||||||
highlight.replaceWith($('#login_highlight a')[0]);
|
|
||||||
}
|
|
||||||
// add new highlight.
|
|
||||||
$('.'+box_id).wrap('<div id="login_highlight"></div>');
|
|
||||||
},
|
|
||||||
setCookie: function (value) {
|
|
||||||
|
|
||||||
var date = new Date();
|
|
||||||
date.setTime(date.getTime()+(this.cookie_expires*24*60*60*1000));
|
|
||||||
var expires = "; expires="+date.toGMTString();
|
|
||||||
|
|
||||||
document.cookie = this.cookie_name+"="+value+expires+"; path=" + this.cookie_path;
|
|
||||||
},
|
|
||||||
readCookie: function () {
|
|
||||||
var nameEQ = this.cookie_name + "=";
|
|
||||||
var ca = document.cookie.split(';');
|
|
||||||
for(var i=0;i < ca.length;i++) {
|
|
||||||
var c = ca[i];
|
|
||||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
|
||||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
|
||||||
}
|
|
||||||
return null;
|
|
||||||
},
|
|
||||||
useInputBox: function (selection) {
|
|
||||||
|
|
||||||
var input_area = $('#login_input_area');
|
|
||||||
|
|
||||||
var html = '';
|
|
||||||
var id = selection['name']+'_entry';
|
|
||||||
var value = '';
|
|
||||||
var label = selection['label'];
|
|
||||||
var style = '';
|
|
||||||
|
|
||||||
if (selection['name'] == 'OpenID') {
|
|
||||||
id = this.input_id;
|
|
||||||
value = '';
|
|
||||||
style = 'background:#FFF url(wikiicons/openidlogin-bg.gif) no-repeat scroll 0 50%; padding-left:18px;';
|
|
||||||
}
|
|
||||||
if (label) {
|
|
||||||
html = '<label for="'+ id +'" class="block">' + label + '</label>';
|
|
||||||
}
|
|
||||||
html += '<input id="'+id+'" type="text" style="'+style+'" name="'+id+'" value="'+value+'" />' +
|
|
||||||
'<input id="selector_submit" type="submit" value="Login"/>';
|
|
||||||
|
|
||||||
input_area.empty();
|
|
||||||
input_area.append(html);
|
|
||||||
|
|
||||||
$('#'+id).focus();
|
|
||||||
},
|
|
||||||
setAjaxHandler: function (ajaxFunction) {
|
|
||||||
this.ajaxHandler = ajaxFunction;
|
|
||||||
}
|
|
||||||
};
|
|
|
@ -1,127 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
|
|
||||||
<meta name='robots' content='max-image-preview:large' />
|
|
||||||
|
|
||||||
<!-- Facebook Meta Tags -->
|
|
||||||
<meta property="og:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta property="og:type" content="website">
|
|
||||||
<meta property="og:title" content="markdown">
|
|
||||||
<meta property="og:description" content="GRIP-UQAM">
|
|
||||||
<meta property="og:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<!-- Twitter Meta Tags -->
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
|
||||||
<meta property="twitter:domain" content="cdpq-palestine.info">
|
|
||||||
<meta property="twitter:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta name="twitter:title" content="markdown">
|
|
||||||
<meta name="twitter:description" content="GRIP-UQAM">
|
|
||||||
<meta name="twitter:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<meta name="robots" content="noindex, follow" />
|
|
||||||
|
|
||||||
<title>markdown - GRIP-UQAM</title>
|
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="../../favicon-96x96.png" sizes="96x96" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="../../favicon.svg" />
|
|
||||||
<link rel="shortcut icon" href="../../favicon.ico" />
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="../../apple-touch-icon.png" />
|
|
||||||
<meta name="apple-mobile-web-app-title" content="GRIP-UQAM" />
|
|
||||||
<link rel="manifest" href="../../site.webmanifest" />
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<!-- those checksums can be verified with: shasum -b -a 384 $file | xxd -r -p |
|
|
||||||
base64 -->
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
||||||
|
|
||||||
<!-- Custom styles for derivatives -->
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../css/local.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- opendyslexic font -->
|
|
||||||
<link href="../../css/opendyslexic.css" rel="stylesheet" />
|
|
||||||
</head>
|
|
||||||
<body class="d-flex flex-column h-100">
|
|
||||||
<header>
|
|
||||||
<nav class="navbar navbar-expand-md navbar-light bg-danger text-white border" data-bs-theme="dark">
|
|
||||||
<div class="container-lg">
|
|
||||||
<a class="navbar-brand me-auto" href="../../">
|
|
||||||
<img alt="GRIP-UQAM" src="../../favicon-96x96.png" width="96" height="96" />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse">
|
|
||||||
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
|
|
||||||
<ul class="navbar-nav nav-link align-items-center ms-auto">
|
|
||||||
<li><a href="../../">Accueil</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="flex-shrink-0 bg-secondary">
|
|
||||||
<div id="content">
|
|
||||||
<p><a href="http://daringfireball.net/projects/markdown/">Markdown</a>
|
|
||||||
is a minimal markup language that resembles plain text as used in
|
|
||||||
email messages. It is the markup language used by this wiki by default.</p>
|
|
||||||
|
|
||||||
<p>For documentation about the markdown syntax, see <a href="../formatting/">formatting</a> and
|
|
||||||
<a href="http://daringfireball.net/projects/markdown/syntax">Markdown: syntax</a>.</p>
|
|
||||||
|
|
||||||
<p>Note that <a href="../wikilink/">WikiLinks</a> and <a href="../directive/">directives</a> are not part
|
|
||||||
of the markdown syntax, and are the only bit of markup that this wiki
|
|
||||||
handles internally.</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="footer mt-auto py-2 bg-primary bg-opacity-25" role="contentinfo">
|
|
||||||
<div class="container-lg h-100">
|
|
||||||
<div class="text-center">
|
|
||||||
<h2>Liens intéressants</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href=https://www.facebook.com/GRIPUQAM" target="_blank">Page Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://www.facebook.com/groups/gripuqam" target="_blank">Groupe Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://assoarmu.wordpress.com/a-propos/" target="_blank">Association pour la Réappropriation des Milieux Urbains</a></li>
|
|
||||||
<li><a href="https://bibliothequedira.wordpress.com/" target="_blank">Bibliothèque DIRA</a></li>
|
|
||||||
<li><a href="https://www.resistancemontreal.org/calendrier" target="_blank">Calendrier Résistance Montréal</a></li>
|
|
||||||
<li><a href="https://www.clac-montreal.net/" target="_blank">Convergence des luttes anticapitalistes Montréal</a></li>
|
|
||||||
<li><a href="https://www.qpirgconcordia.org/" target="_blank">QPIRG Concordia GRIP</a></li>
|
|
||||||
<li><a href="https://qpirgmcgill.org/" target="_blank">QPIRG | GRIP McGill</a></li>
|
|
||||||
<li><a href="https://rqge.qc.ca/" target="_blank">Réseau Québecois des Groupes Écologistes</a></li>
|
|
||||||
<li><a href="https://www.pourlatransitionenergetique.org/" target="_blank">Front commun pour la transition énergétique</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,139 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
|
|
||||||
<meta name='robots' content='max-image-preview:large' />
|
|
||||||
|
|
||||||
<!-- Facebook Meta Tags -->
|
|
||||||
<meta property="og:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta property="og:type" content="website">
|
|
||||||
<meta property="og:title" content="OpenID">
|
|
||||||
<meta property="og:description" content="GRIP-UQAM">
|
|
||||||
<meta property="og:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<!-- Twitter Meta Tags -->
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
|
||||||
<meta property="twitter:domain" content="cdpq-palestine.info">
|
|
||||||
<meta property="twitter:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta name="twitter:title" content="OpenID">
|
|
||||||
<meta name="twitter:description" content="GRIP-UQAM">
|
|
||||||
<meta name="twitter:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<meta name="robots" content="noindex, follow" />
|
|
||||||
|
|
||||||
<title>OpenID - GRIP-UQAM</title>
|
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="../../favicon-96x96.png" sizes="96x96" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="../../favicon.svg" />
|
|
||||||
<link rel="shortcut icon" href="../../favicon.ico" />
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="../../apple-touch-icon.png" />
|
|
||||||
<meta name="apple-mobile-web-app-title" content="GRIP-UQAM" />
|
|
||||||
<link rel="manifest" href="../../site.webmanifest" />
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<!-- those checksums can be verified with: shasum -b -a 384 $file | xxd -r -p |
|
|
||||||
base64 -->
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
||||||
|
|
||||||
<!-- Custom styles for derivatives -->
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../css/local.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- opendyslexic font -->
|
|
||||||
<link href="../../css/opendyslexic.css" rel="stylesheet" />
|
|
||||||
</head>
|
|
||||||
<body class="d-flex flex-column h-100">
|
|
||||||
<header>
|
|
||||||
<nav class="navbar navbar-expand-md navbar-light bg-danger text-white border" data-bs-theme="dark">
|
|
||||||
<div class="container-lg">
|
|
||||||
<a class="navbar-brand me-auto" href="../../">
|
|
||||||
<img alt="GRIP-UQAM" src="../../favicon-96x96.png" width="96" height="96" />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse">
|
|
||||||
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
|
|
||||||
<ul class="navbar-nav nav-link align-items-center ms-auto">
|
|
||||||
<li><a href="../../">Accueil</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="flex-shrink-0 bg-secondary">
|
|
||||||
<div id="content">
|
|
||||||
<p>This wiki has OpenID <strong>enabled</strong>.</p>
|
|
||||||
|
|
||||||
<p><a href="http://openid.net">OpenID</a> is a decentralized authentication mechanism
|
|
||||||
that allows you to have one login that you can use on a growing number of
|
|
||||||
websites.</p>
|
|
||||||
|
|
||||||
<p>If you have an account with some of the larger web service providers,
|
|
||||||
you might already have an OpenID.
|
|
||||||
<a href="http://openiddirectory.com/openid-providers-c-1.html">Directory of OpenID providers</a></p>
|
|
||||||
|
|
||||||
<p>To sign in to this wiki using OpenID, just enter it in the OpenID field in the
|
|
||||||
signin form. You do not need to give this wiki a password or go through any
|
|
||||||
registration process when using OpenID.</p>
|
|
||||||
|
|
||||||
<hr />
|
|
||||||
|
|
||||||
<p>It's also possible to make a page in the wiki usable as an OpenID url,
|
|
||||||
by delegating it to an openid server. Here's an example of how to do that:</p>
|
|
||||||
|
|
||||||
<pre><code>[[!meta openid="http://yourid.myopenid.com/"
|
|
||||||
server="http://www.myopenid.com/server"]]
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="footer mt-auto py-2 bg-primary bg-opacity-25" role="contentinfo">
|
|
||||||
<div class="container-lg h-100">
|
|
||||||
<div class="text-center">
|
|
||||||
<h2>Liens intéressants</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href=https://www.facebook.com/GRIPUQAM" target="_blank">Page Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://www.facebook.com/groups/gripuqam" target="_blank">Groupe Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://assoarmu.wordpress.com/a-propos/" target="_blank">Association pour la Réappropriation des Milieux Urbains</a></li>
|
|
||||||
<li><a href="https://bibliothequedira.wordpress.com/" target="_blank">Bibliothèque DIRA</a></li>
|
|
||||||
<li><a href="https://www.resistancemontreal.org/calendrier" target="_blank">Calendrier Résistance Montréal</a></li>
|
|
||||||
<li><a href="https://www.clac-montreal.net/" target="_blank">Convergence des luttes anticapitalistes Montréal</a></li>
|
|
||||||
<li><a href="https://www.qpirgconcordia.org/" target="_blank">QPIRG Concordia GRIP</a></li>
|
|
||||||
<li><a href="https://qpirgmcgill.org/" target="_blank">QPIRG | GRIP McGill</a></li>
|
|
||||||
<li><a href="https://rqge.qc.ca/" target="_blank">Réseau Québecois des Groupes Écologistes</a></li>
|
|
||||||
<li><a href="https://www.pourlatransitionenergetique.org/" target="_blank">Front commun pour la transition énergétique</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,151 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
|
|
||||||
<meta name='robots' content='max-image-preview:large' />
|
|
||||||
|
|
||||||
<!-- Facebook Meta Tags -->
|
|
||||||
<meta property="og:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta property="og:type" content="website">
|
|
||||||
<meta property="og:title" content="attachment">
|
|
||||||
<meta property="og:description" content="GRIP-UQAM">
|
|
||||||
<meta property="og:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<!-- Twitter Meta Tags -->
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
|
||||||
<meta property="twitter:domain" content="cdpq-palestine.info">
|
|
||||||
<meta property="twitter:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta name="twitter:title" content="attachment">
|
|
||||||
<meta name="twitter:description" content="GRIP-UQAM">
|
|
||||||
<meta name="twitter:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<meta name="robots" content="noindex, follow" />
|
|
||||||
|
|
||||||
<title>attachment - GRIP-UQAM</title>
|
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="../../../favicon-96x96.png" sizes="96x96" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="../../../favicon.svg" />
|
|
||||||
<link rel="shortcut icon" href="../../../favicon.ico" />
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="../../../apple-touch-icon.png" />
|
|
||||||
<meta name="apple-mobile-web-app-title" content="GRIP-UQAM" />
|
|
||||||
<link rel="manifest" href="../../../site.webmanifest" />
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<!-- those checksums can be verified with: shasum -b -a 384 $file | xxd -r -p |
|
|
||||||
base64 -->
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
||||||
|
|
||||||
<!-- Custom styles for derivatives -->
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../../css/local.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- opendyslexic font -->
|
|
||||||
<link href="../../../css/opendyslexic.css" rel="stylesheet" />
|
|
||||||
</head>
|
|
||||||
<body class="d-flex flex-column h-100">
|
|
||||||
<header>
|
|
||||||
<nav class="navbar navbar-expand-md navbar-light bg-danger text-white border" data-bs-theme="dark">
|
|
||||||
<div class="container-lg">
|
|
||||||
<a class="navbar-brand me-auto" href="../../../">
|
|
||||||
<img alt="GRIP-UQAM" src="../../../favicon-96x96.png" width="96" height="96" />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse">
|
|
||||||
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
|
|
||||||
<ul class="navbar-nav nav-link align-items-center ms-auto">
|
|
||||||
<li><a href="../../../">Accueil</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="flex-shrink-0 bg-secondary">
|
|
||||||
<div id="content">
|
|
||||||
<p>This wiki has attachments <strong>disabled</strong>.</p>
|
|
||||||
|
|
||||||
<p>If attachments are enabled, the wiki admin can control what types of
|
|
||||||
attachments will be accepted, via the <code>allowed_attachments</code>
|
|
||||||
configuration setting.</p>
|
|
||||||
|
|
||||||
<p>For example, to limit most users to uploading small images, and nothing else,
|
|
||||||
while allowing larger mp3 files to be uploaded by joey into a specific
|
|
||||||
directory, and check all attachments for viruses, something like this could be
|
|
||||||
used:</p>
|
|
||||||
|
|
||||||
<pre><code>virusfree() and ((user(joey) and podcast/*.mp3 and mimetype(audio/mpeg) and maxsize(15mb)) or ((mimetype(image/jpeg) or mimetype(image/png)) and maxsize(50kb)))
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<p>The regular <a href="../">PageSpec</a> syntax is expanded with the following
|
|
||||||
additional tests:</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><p>"<code>maxsize(size)</code>" - tests whether the attachment is no larger than the
|
|
||||||
specified size. The size defaults to being in bytes, but "kb", "mb", "gb"
|
|
||||||
etc can be used to specify the units.</p></li>
|
|
||||||
<li><p>"<code>minsize(size)</code>" - tests whether the attachment is no smaller than the
|
|
||||||
specified size.</p></li>
|
|
||||||
<li><p>"<code>ispage()</code>" - tests whether the attachment will be treated by ikiwiki as a
|
|
||||||
wiki page. (Ie, if it has an extension of ".mdwn", or of any other enabled
|
|
||||||
page format).</p>
|
|
||||||
|
|
||||||
<p>So, if you don't want to allow wiki pages to be uploaded as attachments,
|
|
||||||
use <code>!ispage()</code> ; if you only want to allow wiki pages to be uploaded
|
|
||||||
as attachments, use <code>ispage()</code>.</p></li>
|
|
||||||
<li><p>"<code>mimetype(foo/bar)</code>" - checks the MIME type of the attachment. You can
|
|
||||||
include a glob in the type, for example <code>mimetype(image/*)</code>.</p></li>
|
|
||||||
<li><p>"<code>virusfree()</code>" - checks the attachment with an antiviral program.</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="footer mt-auto py-2 bg-primary bg-opacity-25" role="contentinfo">
|
|
||||||
<div class="container-lg h-100">
|
|
||||||
<div class="text-center">
|
|
||||||
<h2>Liens intéressants</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href=https://www.facebook.com/GRIPUQAM" target="_blank">Page Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://www.facebook.com/groups/gripuqam" target="_blank">Groupe Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://assoarmu.wordpress.com/a-propos/" target="_blank">Association pour la Réappropriation des Milieux Urbains</a></li>
|
|
||||||
<li><a href="https://bibliothequedira.wordpress.com/" target="_blank">Bibliothèque DIRA</a></li>
|
|
||||||
<li><a href="https://www.resistancemontreal.org/calendrier" target="_blank">Calendrier Résistance Montréal</a></li>
|
|
||||||
<li><a href="https://www.clac-montreal.net/" target="_blank">Convergence des luttes anticapitalistes Montréal</a></li>
|
|
||||||
<li><a href="https://www.qpirgconcordia.org/" target="_blank">QPIRG Concordia GRIP</a></li>
|
|
||||||
<li><a href="https://qpirgmcgill.org/" target="_blank">QPIRG | GRIP McGill</a></li>
|
|
||||||
<li><a href="https://rqge.qc.ca/" target="_blank">Réseau Québecois des Groupes Écologistes</a></li>
|
|
||||||
<li><a href="https://www.pourlatransitionenergetique.org/" target="_blank">Front commun pour la transition énergétique</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,216 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
|
|
||||||
<meta name='robots' content='max-image-preview:large' />
|
|
||||||
|
|
||||||
<!-- Facebook Meta Tags -->
|
|
||||||
<meta property="og:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta property="og:type" content="website">
|
|
||||||
<meta property="og:title" content="pagespec">
|
|
||||||
<meta property="og:description" content="GRIP-UQAM">
|
|
||||||
<meta property="og:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<!-- Twitter Meta Tags -->
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
|
||||||
<meta property="twitter:domain" content="cdpq-palestine.info">
|
|
||||||
<meta property="twitter:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta name="twitter:title" content="pagespec">
|
|
||||||
<meta name="twitter:description" content="GRIP-UQAM">
|
|
||||||
<meta name="twitter:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<meta name="robots" content="noindex, follow" />
|
|
||||||
|
|
||||||
<title>pagespec - GRIP-UQAM</title>
|
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="../../favicon-96x96.png" sizes="96x96" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="../../favicon.svg" />
|
|
||||||
<link rel="shortcut icon" href="../../favicon.ico" />
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="../../apple-touch-icon.png" />
|
|
||||||
<meta name="apple-mobile-web-app-title" content="GRIP-UQAM" />
|
|
||||||
<link rel="manifest" href="../../site.webmanifest" />
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<!-- those checksums can be verified with: shasum -b -a 384 $file | xxd -r -p |
|
|
||||||
base64 -->
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
||||||
|
|
||||||
<!-- Custom styles for derivatives -->
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../css/local.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- opendyslexic font -->
|
|
||||||
<link href="../../css/opendyslexic.css" rel="stylesheet" />
|
|
||||||
</head>
|
|
||||||
<body class="d-flex flex-column h-100">
|
|
||||||
<header>
|
|
||||||
<nav class="navbar navbar-expand-md navbar-light bg-danger text-white border" data-bs-theme="dark">
|
|
||||||
<div class="container-lg">
|
|
||||||
<a class="navbar-brand me-auto" href="../../">
|
|
||||||
<img alt="GRIP-UQAM" src="../../favicon-96x96.png" width="96" height="96" />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse">
|
|
||||||
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
|
|
||||||
<ul class="navbar-nav nav-link align-items-center ms-auto">
|
|
||||||
<li><a href="../../">Accueil</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="flex-shrink-0 bg-secondary">
|
|
||||||
<div id="content">
|
|
||||||
<p>To select a set of pages, such as pages that are locked, pages
|
|
||||||
whose commit emails you want subscribe to, or pages to combine into a
|
|
||||||
blog, the wiki uses a PageSpec. This is an expression that matches
|
|
||||||
a set of pages.</p>
|
|
||||||
|
|
||||||
<p>The simplest PageSpec is a simple list of pages. For example, this matches
|
|
||||||
any of the three listed pages:</p>
|
|
||||||
|
|
||||||
<pre><code>foo or bar or baz
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<p>More often you will want to match any pages that have a particular thing in
|
|
||||||
their name. You can do this using a glob pattern. "<code>*</code>" stands for any part
|
|
||||||
of a page name, and "<code>?</code>" for any single letter of a page name. So this
|
|
||||||
matches all pages about music, and any <a href="../subpage/">SubPage</a>s of the SandBox, but does
|
|
||||||
not match the SandBox itself:</p>
|
|
||||||
|
|
||||||
<pre><code>*music* or SandBox/*
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<p>You can also prefix an item with "<code>!</code>" to skip pages that match it. So to
|
|
||||||
match all pages except for Discussion pages and the SandBox:</p>
|
|
||||||
|
|
||||||
<pre><code>* and !SandBox and !*/Discussion
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<p>Some more elaborate limits can be added to what matches using these functions:</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>"<code>glob(someglob)</code>" - matches pages and other files that match the given glob.
|
|
||||||
Just writing the glob by itself is actually a shorthand for this function.</li>
|
|
||||||
<li>"<code>page(glob)</code>" - like <code>glob()</code>, but only matches pages, not other files</li>
|
|
||||||
<li>"<code>link(page)</code>" - matches only pages that link to a given page (or glob)</li>
|
|
||||||
<li>"<code>tagged(tag)</code>" - matches pages that are tagged or link to the given tag (or
|
|
||||||
tags matched by a glob)</li>
|
|
||||||
<li>"<code>backlink(page)</code>" - matches only pages that a given page links to</li>
|
|
||||||
<li>"<code>creation_month(month)</code>" - matches only files created on the given month
|
|
||||||
number</li>
|
|
||||||
<li>"<code>creation_day(mday)</code>" - or day of the month</li>
|
|
||||||
<li>"<code>creation_year(year)</code>" - or year</li>
|
|
||||||
<li>"<code>created_after(page)</code>" - matches only files created after the given page
|
|
||||||
was created</li>
|
|
||||||
<li>"<code>created_before(page)</code>" - matches only files created before the given page
|
|
||||||
was created</li>
|
|
||||||
<li>"<code>internal(glob)</code>" - like <code>glob()</code>, but matches even internal-use
|
|
||||||
pages that globs do not usually match.</li>
|
|
||||||
<li>"<code>title(glob)</code>", "<code>author(glob)</code>", "<code>authorurl(glob)</code>",
|
|
||||||
"<code>license(glob)</code>", "<code>copyright(glob)</code>", "<code>guid(glob)</code>"
|
|
||||||
<ul>
|
|
||||||
<li>match pages that have the given metadata, matching the specified glob.</li>
|
|
||||||
</ul></li>
|
|
||||||
<li>"<code>user(username)</code>" - tests whether a modification is being made by a
|
|
||||||
user with the specified username. If openid is enabled, an openid can also
|
|
||||||
be put here. Glob patterns can be used in the username. For example,
|
|
||||||
to match all openid users, use <code>user(*://*)</code></li>
|
|
||||||
<li>"<code>admin()</code>" - tests whether a modification is being made by one of the
|
|
||||||
wiki admins.</li>
|
|
||||||
<li>"<code>ip(address)</code>" - tests whether a modification is being made from the
|
|
||||||
specified IP address. Glob patterns can be used in the address. For
|
|
||||||
example, <code>ip(127.0.0.*)</code></li>
|
|
||||||
<li>"<code>comment(glob)</code>" - matches comments to a page matching the glob.</li>
|
|
||||||
<li>"<code>comment_pending(glob)</code>" - matches unmoderated, pending comments.</li>
|
|
||||||
<li>"<code>postcomment(glob)</code>" - matches only when comments are being
|
|
||||||
posted to a page matching the specified glob</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p>For example, to match all pages in a blog that link to the page about music
|
|
||||||
and were written in 2005:</p>
|
|
||||||
|
|
||||||
<pre><code>blog/* and link(music) and creation_year(2005)
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<p>Note the use of "and" in the above example, that means that only pages that
|
|
||||||
match each of the three expressions match the whole. Use "and" when you
|
|
||||||
want to combine expression like that; "or" when it's enough for a page to
|
|
||||||
match one expression. Note that it doesn't make sense to say "index and
|
|
||||||
SandBox", since no page can match both expressions.</p>
|
|
||||||
|
|
||||||
<p>If you want to include only one level of subpages, you can use</p>
|
|
||||||
|
|
||||||
<pre><code>blog/* and !blog/*/*
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<p>More complex expressions can also be created, by using parentheses for
|
|
||||||
grouping. For example, to match pages in a blog that are tagged with either
|
|
||||||
of two tags, use:</p>
|
|
||||||
|
|
||||||
<pre><code>blog/* and (tagged(foo) or tagged(bar))
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<p>Note that page names in PageSpecs are matched against the absolute
|
|
||||||
filenames of the pages in the wiki, so a pagespec "foo" used on page
|
|
||||||
"a/b" will not match a page named "a/foo" or "a/b/foo". To match
|
|
||||||
relative to the directory of the page containing the pagespec, you can
|
|
||||||
use "./". For example, "./foo" on page "a/b" matches page "a/foo".</p>
|
|
||||||
|
|
||||||
<p>To indicate the name of the page the PageSpec is used in, you can
|
|
||||||
use a single dot. For example, <code>link(.)</code> matches all the pages
|
|
||||||
linking to the page containing the PageSpec.</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="footer mt-auto py-2 bg-primary bg-opacity-25" role="contentinfo">
|
|
||||||
<div class="container-lg h-100">
|
|
||||||
<div class="text-center">
|
|
||||||
<h2>Liens intéressants</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href=https://www.facebook.com/GRIPUQAM" target="_blank">Page Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://www.facebook.com/groups/gripuqam" target="_blank">Groupe Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://assoarmu.wordpress.com/a-propos/" target="_blank">Association pour la Réappropriation des Milieux Urbains</a></li>
|
|
||||||
<li><a href="https://bibliothequedira.wordpress.com/" target="_blank">Bibliothèque DIRA</a></li>
|
|
||||||
<li><a href="https://www.resistancemontreal.org/calendrier" target="_blank">Calendrier Résistance Montréal</a></li>
|
|
||||||
<li><a href="https://www.clac-montreal.net/" target="_blank">Convergence des luttes anticapitalistes Montréal</a></li>
|
|
||||||
<li><a href="https://www.qpirgconcordia.org/" target="_blank">QPIRG Concordia GRIP</a></li>
|
|
||||||
<li><a href="https://qpirgmcgill.org/" target="_blank">QPIRG | GRIP McGill</a></li>
|
|
||||||
<li><a href="https://rqge.qc.ca/" target="_blank">Réseau Québecois des Groupes Écologistes</a></li>
|
|
||||||
<li><a href="https://www.pourlatransitionenergetique.org/" target="_blank">Front commun pour la transition énergétique</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,138 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
|
|
||||||
<meta name='robots' content='max-image-preview:large' />
|
|
||||||
|
|
||||||
<!-- Facebook Meta Tags -->
|
|
||||||
<meta property="og:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta property="og:type" content="website">
|
|
||||||
<meta property="og:title" content="po">
|
|
||||||
<meta property="og:description" content="GRIP-UQAM">
|
|
||||||
<meta property="og:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<!-- Twitter Meta Tags -->
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
|
||||||
<meta property="twitter:domain" content="cdpq-palestine.info">
|
|
||||||
<meta property="twitter:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta name="twitter:title" content="po">
|
|
||||||
<meta name="twitter:description" content="GRIP-UQAM">
|
|
||||||
<meta name="twitter:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<meta name="robots" content="noindex, follow" />
|
|
||||||
|
|
||||||
<title>po - GRIP-UQAM</title>
|
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="../../../favicon-96x96.png" sizes="96x96" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="../../../favicon.svg" />
|
|
||||||
<link rel="shortcut icon" href="../../../favicon.ico" />
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="../../../apple-touch-icon.png" />
|
|
||||||
<meta name="apple-mobile-web-app-title" content="GRIP-UQAM" />
|
|
||||||
<link rel="manifest" href="../../../site.webmanifest" />
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<!-- those checksums can be verified with: shasum -b -a 384 $file | xxd -r -p |
|
|
||||||
base64 -->
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
||||||
|
|
||||||
<!-- Custom styles for derivatives -->
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../../css/local.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- opendyslexic font -->
|
|
||||||
<link href="../../../css/opendyslexic.css" rel="stylesheet" />
|
|
||||||
</head>
|
|
||||||
<body class="d-flex flex-column h-100">
|
|
||||||
<header>
|
|
||||||
<nav class="navbar navbar-expand-md navbar-light bg-danger text-white border" data-bs-theme="dark">
|
|
||||||
<div class="container-lg">
|
|
||||||
<a class="navbar-brand me-auto" href="../../../">
|
|
||||||
<img alt="GRIP-UQAM" src="../../../favicon-96x96.png" width="96" height="96" />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse">
|
|
||||||
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
|
|
||||||
<ul class="navbar-nav nav-link align-items-center ms-auto">
|
|
||||||
<li><a href="../../../">Accueil</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="flex-shrink-0 bg-secondary">
|
|
||||||
<div id="content">
|
|
||||||
<p>This wiki has po support <strong>disabled</strong>.</p>
|
|
||||||
|
|
||||||
<p>If the <a href="http://ikiwiki.info/plugins/po/">po</a> plugin is enabled, the regular
|
|
||||||
<a href="../">PageSpec</a> syntax is expanded with the following additional
|
|
||||||
tests that can be used to improve user navigation in a multi-lingual
|
|
||||||
wiki:</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>"<code>lang(LL)</code>" - tests whether a page is written in the language
|
|
||||||
specified as a ISO639-1 (two-letter) language code.</li>
|
|
||||||
<li>"<code>currentlang()</code>" - tests whether a page is written in the same
|
|
||||||
language as the current page.</li>
|
|
||||||
<li>"<code>needstranslation()</code>" - tests whether a page needs translation
|
|
||||||
work. Only slave pages match this PageSpec. A minimum target
|
|
||||||
translation percentage can optionally be passed as an integer
|
|
||||||
parameter: "<code>needstranslation(50)</code>" matches only pages less than 50%
|
|
||||||
translated.</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p>Note that every non-po page is considered to be written in
|
|
||||||
<code>po_master_language</code>, as specified in <code>ikiwiki.setup</code>.</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="footer mt-auto py-2 bg-primary bg-opacity-25" role="contentinfo">
|
|
||||||
<div class="container-lg h-100">
|
|
||||||
<div class="text-center">
|
|
||||||
<h2>Liens intéressants</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href=https://www.facebook.com/GRIPUQAM" target="_blank">Page Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://www.facebook.com/groups/gripuqam" target="_blank">Groupe Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://assoarmu.wordpress.com/a-propos/" target="_blank">Association pour la Réappropriation des Milieux Urbains</a></li>
|
|
||||||
<li><a href="https://bibliothequedira.wordpress.com/" target="_blank">Bibliothèque DIRA</a></li>
|
|
||||||
<li><a href="https://www.resistancemontreal.org/calendrier" target="_blank">Calendrier Résistance Montréal</a></li>
|
|
||||||
<li><a href="https://www.clac-montreal.net/" target="_blank">Convergence des luttes anticapitalistes Montréal</a></li>
|
|
||||||
<li><a href="https://www.qpirgconcordia.org/" target="_blank">QPIRG Concordia GRIP</a></li>
|
|
||||||
<li><a href="https://qpirgmcgill.org/" target="_blank">QPIRG | GRIP McGill</a></li>
|
|
||||||
<li><a href="https://rqge.qc.ca/" target="_blank">Réseau Québecois des Groupes Écologistes</a></li>
|
|
||||||
<li><a href="https://www.pourlatransitionenergetique.org/" target="_blank">Front commun pour la transition énergétique</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,136 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
|
|
||||||
<meta name='robots' content='max-image-preview:large' />
|
|
||||||
|
|
||||||
<!-- Facebook Meta Tags -->
|
|
||||||
<meta property="og:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta property="og:type" content="website">
|
|
||||||
<meta property="og:title" content="sorting">
|
|
||||||
<meta property="og:description" content="GRIP-UQAM">
|
|
||||||
<meta property="og:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<!-- Twitter Meta Tags -->
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
|
||||||
<meta property="twitter:domain" content="cdpq-palestine.info">
|
|
||||||
<meta property="twitter:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta name="twitter:title" content="sorting">
|
|
||||||
<meta name="twitter:description" content="GRIP-UQAM">
|
|
||||||
<meta name="twitter:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<meta name="robots" content="noindex, follow" />
|
|
||||||
|
|
||||||
<title>sorting - GRIP-UQAM</title>
|
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="../../../favicon-96x96.png" sizes="96x96" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="../../../favicon.svg" />
|
|
||||||
<link rel="shortcut icon" href="../../../favicon.ico" />
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="../../../apple-touch-icon.png" />
|
|
||||||
<meta name="apple-mobile-web-app-title" content="GRIP-UQAM" />
|
|
||||||
<link rel="manifest" href="../../../site.webmanifest" />
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<!-- those checksums can be verified with: shasum -b -a 384 $file | xxd -r -p |
|
|
||||||
base64 -->
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
||||||
|
|
||||||
<!-- Custom styles for derivatives -->
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../../css/local.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- opendyslexic font -->
|
|
||||||
<link href="../../../css/opendyslexic.css" rel="stylesheet" />
|
|
||||||
</head>
|
|
||||||
<body class="d-flex flex-column h-100">
|
|
||||||
<header>
|
|
||||||
<nav class="navbar navbar-expand-md navbar-light bg-danger text-white border" data-bs-theme="dark">
|
|
||||||
<div class="container-lg">
|
|
||||||
<a class="navbar-brand me-auto" href="../../../">
|
|
||||||
<img alt="GRIP-UQAM" src="../../../favicon-96x96.png" width="96" height="96" />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse">
|
|
||||||
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
|
|
||||||
<ul class="navbar-nav nav-link align-items-center ms-auto">
|
|
||||||
<li><a href="../../../">Accueil</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="flex-shrink-0 bg-secondary">
|
|
||||||
<div id="content">
|
|
||||||
<p>Some <a href="../../directive/">directives</a> that use
|
|
||||||
<a href="../">PageSpecs</a> allow
|
|
||||||
specifying the order that matching pages are shown in. The following sort
|
|
||||||
orders can be specified using the <code>sort</code> parameter:</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><p><code>age</code> - List pages from the most recently created to the oldest.</p></li>
|
|
||||||
<li><p><code>mtime</code> - List pages with the most recently modified first.</p></li>
|
|
||||||
<li><p><code>title</code> - Order by title (page name), e.g. "z/a a/b a/c"</p></li>
|
|
||||||
<li><p><code>path</code> - Order by page name including parents, e.g. "a/b a/c z/a"</p></li>
|
|
||||||
<li><p><code>meta(title)</code> - Order according to the <code>[[!meta title="foo" sortas="bar"]]</code>
|
|
||||||
or <code>[[!meta title="foo"]]</code> <a href="../../directive/">directive</a>, or the page name if no
|
|
||||||
full title was set. <code>meta(author)</code>, <code>meta(date)</code>, <code>meta(updated)</code>, etc.
|
|
||||||
also work.</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p>In addition, you can combine several sort orders and/or reverse the order of
|
|
||||||
sorting, with a string like <code>age -title</code> (which would sort by age, then by
|
|
||||||
title in reverse order if two pages have the same age).</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="footer mt-auto py-2 bg-primary bg-opacity-25" role="contentinfo">
|
|
||||||
<div class="container-lg h-100">
|
|
||||||
<div class="text-center">
|
|
||||||
<h2>Liens intéressants</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href=https://www.facebook.com/GRIPUQAM" target="_blank">Page Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://www.facebook.com/groups/gripuqam" target="_blank">Groupe Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://assoarmu.wordpress.com/a-propos/" target="_blank">Association pour la Réappropriation des Milieux Urbains</a></li>
|
|
||||||
<li><a href="https://bibliothequedira.wordpress.com/" target="_blank">Bibliothèque DIRA</a></li>
|
|
||||||
<li><a href="https://www.resistancemontreal.org/calendrier" target="_blank">Calendrier Résistance Montréal</a></li>
|
|
||||||
<li><a href="https://www.clac-montreal.net/" target="_blank">Convergence des luttes anticapitalistes Montréal</a></li>
|
|
||||||
<li><a href="https://www.qpirgconcordia.org/" target="_blank">QPIRG Concordia GRIP</a></li>
|
|
||||||
<li><a href="https://qpirgmcgill.org/" target="_blank">QPIRG | GRIP McGill</a></li>
|
|
||||||
<li><a href="https://rqge.qc.ca/" target="_blank">Réseau Québecois des Groupes Écologistes</a></li>
|
|
||||||
<li><a href="https://www.pourlatransitionenergetique.org/" target="_blank">Front commun pour la transition énergétique</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,79 +0,0 @@
|
||||||
// © 2006-2010 Joey Hess
|
|
||||||
// Redistribution and use in source and compiled forms, with or without
|
|
||||||
// modification, are permitted under any circumstances. No warranty.
|
|
||||||
//
|
|
||||||
// Causes html elements in the 'relativedate' class to be displayed
|
|
||||||
// as relative dates. The date is parsed from the title attribute, or from
|
|
||||||
// the element content.
|
|
||||||
|
|
||||||
var dateElements;
|
|
||||||
|
|
||||||
hook("onload", getDates);
|
|
||||||
|
|
||||||
function getDates() {
|
|
||||||
dateElements = getElementsByClass('relativedate');
|
|
||||||
for (var i = 0; i < dateElements.length; i++) {
|
|
||||||
var elt = dateElements[i];
|
|
||||||
var title = elt.attributes.title;
|
|
||||||
var d = new Date(title ? title.value : elt.innerHTML);
|
|
||||||
if (! isNaN(d)) {
|
|
||||||
dateElements[i].date=d;
|
|
||||||
elt.title=elt.innerHTML;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
showDates();
|
|
||||||
}
|
|
||||||
|
|
||||||
function showDates() {
|
|
||||||
for (var i = 0; i < dateElements.length; i++) {
|
|
||||||
var elt = dateElements[i];
|
|
||||||
var d = elt.date;
|
|
||||||
if (! isNaN(d)) {
|
|
||||||
elt.innerHTML=relativeDate(d);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
setTimeout(showDates,30000); // keep updating every 30s
|
|
||||||
}
|
|
||||||
|
|
||||||
var timeUnits = [
|
|
||||||
{ unit: 'year', seconds: 60 * 60 * 24 * 364 },
|
|
||||||
{ unit: 'month', seconds: 60 * 60 * 24 * 30 },
|
|
||||||
{ unit: 'day', seconds: 60 * 60 * 24 },
|
|
||||||
{ unit: 'hour', seconds: 60 * 60 },
|
|
||||||
{ unit: 'minute', seconds: 60 },
|
|
||||||
];
|
|
||||||
|
|
||||||
function relativeDate(date) {
|
|
||||||
var now = new Date();
|
|
||||||
var offset = date.getTime() - now.getTime();
|
|
||||||
var seconds = Math.round(Math.abs(offset) / 1000);
|
|
||||||
|
|
||||||
// hack to avoid reading just in the future if there is a minor
|
|
||||||
// amount of clock slip
|
|
||||||
if (offset >= 0 && seconds < 30 * 60 * 60) {
|
|
||||||
return "just now";
|
|
||||||
}
|
|
||||||
|
|
||||||
var ret = "";
|
|
||||||
var shown = 0;
|
|
||||||
for (i = 0; i < timeUnits.length; i++) {
|
|
||||||
if (seconds >= timeUnits[i].seconds) {
|
|
||||||
var num = Math.floor(seconds / timeUnits[i].seconds);
|
|
||||||
seconds -= num * timeUnits[i].seconds;
|
|
||||||
if (ret)
|
|
||||||
ret += "and ";
|
|
||||||
ret += num + " " + timeUnits[i].unit + (num > 1 ? "s" : "") + " ";
|
|
||||||
|
|
||||||
if (++shown == 2)
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
else if (shown)
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (! ret)
|
|
||||||
ret = "less than a minute "
|
|
||||||
|
|
||||||
return ret + (offset < 0 ? "ago" : "from now");
|
|
||||||
}
|
|
|
@ -1,135 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
|
|
||||||
<meta name='robots' content='max-image-preview:large' />
|
|
||||||
|
|
||||||
<!-- Facebook Meta Tags -->
|
|
||||||
<meta property="og:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta property="og:type" content="website">
|
|
||||||
<meta property="og:title" content="searching">
|
|
||||||
<meta property="og:description" content="GRIP-UQAM">
|
|
||||||
<meta property="og:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<!-- Twitter Meta Tags -->
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
|
||||||
<meta property="twitter:domain" content="cdpq-palestine.info">
|
|
||||||
<meta property="twitter:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta name="twitter:title" content="searching">
|
|
||||||
<meta name="twitter:description" content="GRIP-UQAM">
|
|
||||||
<meta name="twitter:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<meta name="robots" content="noindex, follow" />
|
|
||||||
|
|
||||||
<title>searching - GRIP-UQAM</title>
|
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="../../favicon-96x96.png" sizes="96x96" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="../../favicon.svg" />
|
|
||||||
<link rel="shortcut icon" href="../../favicon.ico" />
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="../../apple-touch-icon.png" />
|
|
||||||
<meta name="apple-mobile-web-app-title" content="GRIP-UQAM" />
|
|
||||||
<link rel="manifest" href="../../site.webmanifest" />
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<!-- those checksums can be verified with: shasum -b -a 384 $file | xxd -r -p |
|
|
||||||
base64 -->
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
||||||
|
|
||||||
<!-- Custom styles for derivatives -->
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../css/local.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- opendyslexic font -->
|
|
||||||
<link href="../../css/opendyslexic.css" rel="stylesheet" />
|
|
||||||
</head>
|
|
||||||
<body class="d-flex flex-column h-100">
|
|
||||||
<header>
|
|
||||||
<nav class="navbar navbar-expand-md navbar-light bg-danger text-white border" data-bs-theme="dark">
|
|
||||||
<div class="container-lg">
|
|
||||||
<a class="navbar-brand me-auto" href="../../">
|
|
||||||
<img alt="GRIP-UQAM" src="../../favicon-96x96.png" width="96" height="96" />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse">
|
|
||||||
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
|
|
||||||
<ul class="navbar-nav nav-link align-items-center ms-auto">
|
|
||||||
<li><a href="../../">Accueil</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="flex-shrink-0 bg-secondary">
|
|
||||||
<div id="content">
|
|
||||||
<p>This wiki has searching <strong>disabled</strong>.</p>
|
|
||||||
|
|
||||||
<p>If searching is enabled, you can enter search terms in the search field,
|
|
||||||
as you'd expect. There are a few special things you can do to construct
|
|
||||||
more powerful searches.</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>To match a phrase, enclose it in double quotes.</li>
|
|
||||||
<li><code>AND</code> can be used to search for documents containing two expressions.</li>
|
|
||||||
<li><code>OR</code> can be used to search for documents containing either one of
|
|
||||||
two expressions.</li>
|
|
||||||
<li>Parentheses can be used to build up complicated search expressions. For
|
|
||||||
example, "(foo AND bar) OR (me AND you)"</li>
|
|
||||||
<li>Prefix a search term with "-" to avoid it from appearing in the results.
|
|
||||||
For example, "-discussion" will omit "discussion".</li>
|
|
||||||
<li>To search for a page with a given title, use "title:foo".</li>
|
|
||||||
<li>To search for pages that contain a "bar" link, use "link:bar".</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="footer mt-auto py-2 bg-primary bg-opacity-25" role="contentinfo">
|
|
||||||
<div class="container-lg h-100">
|
|
||||||
<div class="text-center">
|
|
||||||
<h2>Liens intéressants</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href=https://www.facebook.com/GRIPUQAM" target="_blank">Page Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://www.facebook.com/groups/gripuqam" target="_blank">Groupe Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://assoarmu.wordpress.com/a-propos/" target="_blank">Association pour la Réappropriation des Milieux Urbains</a></li>
|
|
||||||
<li><a href="https://bibliothequedira.wordpress.com/" target="_blank">Bibliothèque DIRA</a></li>
|
|
||||||
<li><a href="https://www.resistancemontreal.org/calendrier" target="_blank">Calendrier Résistance Montréal</a></li>
|
|
||||||
<li><a href="https://www.clac-montreal.net/" target="_blank">Convergence des luttes anticapitalistes Montréal</a></li>
|
|
||||||
<li><a href="https://www.qpirgconcordia.org/" target="_blank">QPIRG Concordia GRIP</a></li>
|
|
||||||
<li><a href="https://qpirgmcgill.org/" target="_blank">QPIRG | GRIP McGill</a></li>
|
|
||||||
<li><a href="https://rqge.qc.ca/" target="_blank">Réseau Québecois des Groupes Écologistes</a></li>
|
|
||||||
<li><a href="https://www.pourlatransitionenergetique.org/" target="_blank">Front commun pour la transition énergétique</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,128 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
|
|
||||||
<meta name='robots' content='max-image-preview:large' />
|
|
||||||
|
|
||||||
<!-- Facebook Meta Tags -->
|
|
||||||
<meta property="og:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta property="og:type" content="website">
|
|
||||||
<meta property="og:title" content="subpage">
|
|
||||||
<meta property="og:description" content="GRIP-UQAM">
|
|
||||||
<meta property="og:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<!-- Twitter Meta Tags -->
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
|
||||||
<meta property="twitter:domain" content="cdpq-palestine.info">
|
|
||||||
<meta property="twitter:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta name="twitter:title" content="subpage">
|
|
||||||
<meta name="twitter:description" content="GRIP-UQAM">
|
|
||||||
<meta name="twitter:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<meta name="robots" content="noindex, follow" />
|
|
||||||
|
|
||||||
<title>subpage - GRIP-UQAM</title>
|
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="../../favicon-96x96.png" sizes="96x96" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="../../favicon.svg" />
|
|
||||||
<link rel="shortcut icon" href="../../favicon.ico" />
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="../../apple-touch-icon.png" />
|
|
||||||
<meta name="apple-mobile-web-app-title" content="GRIP-UQAM" />
|
|
||||||
<link rel="manifest" href="../../site.webmanifest" />
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<!-- those checksums can be verified with: shasum -b -a 384 $file | xxd -r -p |
|
|
||||||
base64 -->
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
||||||
|
|
||||||
<!-- Custom styles for derivatives -->
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../css/local.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- opendyslexic font -->
|
|
||||||
<link href="../../css/opendyslexic.css" rel="stylesheet" />
|
|
||||||
</head>
|
|
||||||
<body class="d-flex flex-column h-100">
|
|
||||||
<header>
|
|
||||||
<nav class="navbar navbar-expand-md navbar-light bg-danger text-white border" data-bs-theme="dark">
|
|
||||||
<div class="container-lg">
|
|
||||||
<a class="navbar-brand me-auto" href="../../">
|
|
||||||
<img alt="GRIP-UQAM" src="../../favicon-96x96.png" width="96" height="96" />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse">
|
|
||||||
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
|
|
||||||
<ul class="navbar-nav nav-link align-items-center ms-auto">
|
|
||||||
<li><a href="../../">Accueil</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="flex-shrink-0 bg-secondary">
|
|
||||||
<div id="content">
|
|
||||||
<p>ikiwiki supports placing pages in a directory hierarchy. For example,
|
|
||||||
this page, <span class="selflink">SubPage</span> has some related pages placed under it, like
|
|
||||||
<a href="./linkingrules/">LinkingRules</a>. This is a useful way to add some order to your
|
|
||||||
wiki rather than just having a great big directory full of pages.</p>
|
|
||||||
|
|
||||||
<p>To add a SubPage, just make a subdirectory and put pages in it. For
|
|
||||||
example, this page is subpage.mdwn in this wiki's source, and there is also
|
|
||||||
a subpage subdirectory, which contains subpage/linkingrules.mdwn. Subpages
|
|
||||||
can be nested as deeply as you'd like.</p>
|
|
||||||
|
|
||||||
<p>Linking to and from a SubPage is explained in <a href="./linkingrules/">LinkingRules</a>.</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="footer mt-auto py-2 bg-primary bg-opacity-25" role="contentinfo">
|
|
||||||
<div class="container-lg h-100">
|
|
||||||
<div class="text-center">
|
|
||||||
<h2>Liens intéressants</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href=https://www.facebook.com/GRIPUQAM" target="_blank">Page Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://www.facebook.com/groups/gripuqam" target="_blank">Groupe Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://assoarmu.wordpress.com/a-propos/" target="_blank">Association pour la Réappropriation des Milieux Urbains</a></li>
|
|
||||||
<li><a href="https://bibliothequedira.wordpress.com/" target="_blank">Bibliothèque DIRA</a></li>
|
|
||||||
<li><a href="https://www.resistancemontreal.org/calendrier" target="_blank">Calendrier Résistance Montréal</a></li>
|
|
||||||
<li><a href="https://www.clac-montreal.net/" target="_blank">Convergence des luttes anticapitalistes Montréal</a></li>
|
|
||||||
<li><a href="https://www.qpirgconcordia.org/" target="_blank">QPIRG Concordia GRIP</a></li>
|
|
||||||
<li><a href="https://qpirgmcgill.org/" target="_blank">QPIRG | GRIP McGill</a></li>
|
|
||||||
<li><a href="https://rqge.qc.ca/" target="_blank">Réseau Québecois des Groupes Écologistes</a></li>
|
|
||||||
<li><a href="https://www.pourlatransitionenergetique.org/" target="_blank">Front commun pour la transition énergétique</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,149 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
|
|
||||||
<meta name='robots' content='max-image-preview:large' />
|
|
||||||
|
|
||||||
<!-- Facebook Meta Tags -->
|
|
||||||
<meta property="og:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta property="og:type" content="website">
|
|
||||||
<meta property="og:title" content="linkingrules">
|
|
||||||
<meta property="og:description" content="GRIP-UQAM">
|
|
||||||
<meta property="og:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<!-- Twitter Meta Tags -->
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
|
||||||
<meta property="twitter:domain" content="cdpq-palestine.info">
|
|
||||||
<meta property="twitter:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta name="twitter:title" content="linkingrules">
|
|
||||||
<meta name="twitter:description" content="GRIP-UQAM">
|
|
||||||
<meta name="twitter:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<meta name="robots" content="noindex, follow" />
|
|
||||||
|
|
||||||
<title>linkingrules - GRIP-UQAM</title>
|
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="../../../favicon-96x96.png" sizes="96x96" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="../../../favicon.svg" />
|
|
||||||
<link rel="shortcut icon" href="../../../favicon.ico" />
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="../../../apple-touch-icon.png" />
|
|
||||||
<meta name="apple-mobile-web-app-title" content="GRIP-UQAM" />
|
|
||||||
<link rel="manifest" href="../../../site.webmanifest" />
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<!-- those checksums can be verified with: shasum -b -a 384 $file | xxd -r -p |
|
|
||||||
base64 -->
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
||||||
|
|
||||||
<!-- Custom styles for derivatives -->
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../../css/local.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- opendyslexic font -->
|
|
||||||
<link href="../../../css/opendyslexic.css" rel="stylesheet" />
|
|
||||||
</head>
|
|
||||||
<body class="d-flex flex-column h-100">
|
|
||||||
<header>
|
|
||||||
<nav class="navbar navbar-expand-md navbar-light bg-danger text-white border" data-bs-theme="dark">
|
|
||||||
<div class="container-lg">
|
|
||||||
<a class="navbar-brand me-auto" href="../../../">
|
|
||||||
<img alt="GRIP-UQAM" src="../../../favicon-96x96.png" width="96" height="96" />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse">
|
|
||||||
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
|
|
||||||
<ul class="navbar-nav nav-link align-items-center ms-auto">
|
|
||||||
<li><a href="../../../">Accueil</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="flex-shrink-0 bg-secondary">
|
|
||||||
<div id="content">
|
|
||||||
<p>To link to or from a <a href="../">SubPage</a>, you can normally use a regular
|
|
||||||
<a href="../../wikilink/">WikiLink</a> that does not contain the name of the parent directory of
|
|
||||||
the <a href="../">SubPage</a>. Ikiwiki descends the directory hierarchy looking for a
|
|
||||||
page that matches your link.</p>
|
|
||||||
|
|
||||||
<p>For example, if FooBar/SubPage links to "OtherPage", ikiwiki will first
|
|
||||||
prefer pointing the link to FooBar/SubPage/OtherPage if it exists, next
|
|
||||||
to FooBar/OtherPage and finally to OtherPage in the root of the wiki.</p>
|
|
||||||
|
|
||||||
<p>Note that this means that if a link on FooBar/SomePage to "OtherPage"
|
|
||||||
currently links to OtherPage, in the root of the wiki, and FooBar/OtherPage
|
|
||||||
is created, the link will <em>change</em> to point to FooBar/OtherPage. On the
|
|
||||||
other hand, a link from BazBar to "OtherPage" would be unchanged by this
|
|
||||||
creation of a <a href="../">SubPage</a> of FooBar.</p>
|
|
||||||
|
|
||||||
<p>You can also specify a link that contains a directory name, like
|
|
||||||
"FooBar/OtherPage" to more exactly specify what page to link to. This is
|
|
||||||
the only way to link to an unrelated <a href="../">SubPage</a>.</p>
|
|
||||||
|
|
||||||
<p>You can use this to, for example, to link from BazBar to "FooBar/SubPage",
|
|
||||||
or from BazBar/SubPage to "FooBar/SubPage".</p>
|
|
||||||
|
|
||||||
<p>You can also use "/" at the start of a link, to specify exactly which page
|
|
||||||
to link to, when there are multiple pages with similar names and the link
|
|
||||||
goes to the wrong page by default. For example, linking from
|
|
||||||
"FooBar/SubPage" to "/OtherPage" will link to the "OtherPage" in the root
|
|
||||||
of the wiki, even if there is a "FooBar/OtherPage".</p>
|
|
||||||
|
|
||||||
<p>Also, if the wiki is configured with a userdir, you can link to pages
|
|
||||||
within the userdir without specifying a path to them. This is to allow for
|
|
||||||
easy linking to a user's page in the userdir, to sign a comment. These
|
|
||||||
links are checked for last of all.</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="footer mt-auto py-2 bg-primary bg-opacity-25" role="contentinfo">
|
|
||||||
<div class="container-lg h-100">
|
|
||||||
<div class="text-center">
|
|
||||||
<h2>Liens intéressants</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href=https://www.facebook.com/GRIPUQAM" target="_blank">Page Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://www.facebook.com/groups/gripuqam" target="_blank">Groupe Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://assoarmu.wordpress.com/a-propos/" target="_blank">Association pour la Réappropriation des Milieux Urbains</a></li>
|
|
||||||
<li><a href="https://bibliothequedira.wordpress.com/" target="_blank">Bibliothèque DIRA</a></li>
|
|
||||||
<li><a href="https://www.resistancemontreal.org/calendrier" target="_blank">Calendrier Résistance Montréal</a></li>
|
|
||||||
<li><a href="https://www.clac-montreal.net/" target="_blank">Convergence des luttes anticapitalistes Montréal</a></li>
|
|
||||||
<li><a href="https://www.qpirgconcordia.org/" target="_blank">QPIRG Concordia GRIP</a></li>
|
|
||||||
<li><a href="https://qpirgmcgill.org/" target="_blank">QPIRG | GRIP McGill</a></li>
|
|
||||||
<li><a href="https://rqge.qc.ca/" target="_blank">Réseau Québecois des Groupes Écologistes</a></li>
|
|
||||||
<li><a href="https://www.pourlatransitionenergetique.org/" target="_blank">Front commun pour la transition énergétique</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,33 +0,0 @@
|
||||||
// © 2006-2010 Joey Hess
|
|
||||||
// Redistribution and use in source and compiled forms, with or without
|
|
||||||
// modification, are permitted under any circumstances. No warranty.
|
|
||||||
//
|
|
||||||
// Uses CSS to hide toggleables, to avoid any flashing on page load. The
|
|
||||||
// CSS is only emitted after it tests that it's going to be able
|
|
||||||
// to show the toggleables.
|
|
||||||
if (document.getElementById && document.getElementsByTagName && document.createTextNode) {
|
|
||||||
document.write('<style type="text/css">div.toggleable { display: none; }</style>');
|
|
||||||
hook("onload", inittoggle);
|
|
||||||
}
|
|
||||||
|
|
||||||
function inittoggle() {
|
|
||||||
var as = getElementsByClass('toggle');
|
|
||||||
for (var i = 0; i < as.length; i++) {
|
|
||||||
var id = as[i].href.match(/#(\w.+)/)[1];
|
|
||||||
if (document.getElementById(id).className == "toggleable")
|
|
||||||
document.getElementById(id).style.display="none";
|
|
||||||
as[i].onclick = function() {
|
|
||||||
toggle(this);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function toggle(s) {
|
|
||||||
var id = s.href.match(/#(\w.+)/)[1];
|
|
||||||
style = document.getElementById(id).style;
|
|
||||||
if (style.display == "none")
|
|
||||||
style.display = "block";
|
|
||||||
else
|
|
||||||
style.display = "none";
|
|
||||||
}
|
|
|
@ -1,145 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
|
|
||||||
<meta name='robots' content='max-image-preview:large' />
|
|
||||||
|
|
||||||
<!-- Facebook Meta Tags -->
|
|
||||||
<meta property="og:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta property="og:type" content="website">
|
|
||||||
<meta property="og:title" content="wikilink">
|
|
||||||
<meta property="og:description" content="GRIP-UQAM">
|
|
||||||
<meta property="og:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<!-- Twitter Meta Tags -->
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
|
||||||
<meta property="twitter:domain" content="cdpq-palestine.info">
|
|
||||||
<meta property="twitter:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta name="twitter:title" content="wikilink">
|
|
||||||
<meta name="twitter:description" content="GRIP-UQAM">
|
|
||||||
<meta name="twitter:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<meta name="robots" content="noindex, follow" />
|
|
||||||
|
|
||||||
<title>wikilink - GRIP-UQAM</title>
|
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="../../favicon-96x96.png" sizes="96x96" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="../../favicon.svg" />
|
|
||||||
<link rel="shortcut icon" href="../../favicon.ico" />
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="../../apple-touch-icon.png" />
|
|
||||||
<meta name="apple-mobile-web-app-title" content="GRIP-UQAM" />
|
|
||||||
<link rel="manifest" href="../../site.webmanifest" />
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<!-- those checksums can be verified with: shasum -b -a 384 $file | xxd -r -p |
|
|
||||||
base64 -->
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
||||||
|
|
||||||
<!-- Custom styles for derivatives -->
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../css/local.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- opendyslexic font -->
|
|
||||||
<link href="../../css/opendyslexic.css" rel="stylesheet" />
|
|
||||||
</head>
|
|
||||||
<body class="d-flex flex-column h-100">
|
|
||||||
<header>
|
|
||||||
<nav class="navbar navbar-expand-md navbar-light bg-danger text-white border" data-bs-theme="dark">
|
|
||||||
<div class="container-lg">
|
|
||||||
<a class="navbar-brand me-auto" href="../../">
|
|
||||||
<img alt="GRIP-UQAM" src="../../favicon-96x96.png" width="96" height="96" />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse">
|
|
||||||
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
|
|
||||||
<ul class="navbar-nav nav-link align-items-center ms-auto">
|
|
||||||
<li><a href="../../">Accueil</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="flex-shrink-0 bg-secondary">
|
|
||||||
<div id="content">
|
|
||||||
<p>WikiLinks provide easy linking between pages of the wiki. To create a
|
|
||||||
<span class="selflink">WikiLink</span>, just put the name of the page to link to in double brackets.
|
|
||||||
For example <code>[[WikiLink]]</code>.</p>
|
|
||||||
|
|
||||||
<p>If you ever need to write something like <code>[[WikiLink]]</code> without creating a
|
|
||||||
wikilink, just prefix it with a <code>\</code>, like <code>\[[WikiLink]]</code>.</p>
|
|
||||||
|
|
||||||
<p>There are some special <a href="../subpage/linkingrules/">LinkingRules</a> that come into play when
|
|
||||||
linking between <a href="../subpage/">SubPages</a>.</p>
|
|
||||||
|
|
||||||
<p>WikiLinks are matched with page names in a case-insensitive manner, so you
|
|
||||||
don't need to worry about getting the case the same, and can capitalise
|
|
||||||
links at the start of a sentence, and so on.</p>
|
|
||||||
|
|
||||||
<p>It's also possible to write a WikiLink that uses something other than the page
|
|
||||||
name as the link text. For example <code>[[foo_bar|SandBox]]</code> links to the SandBox
|
|
||||||
page, but the link will appear like this: <a href="../../sandbox/">foo bar</a>.</p>
|
|
||||||
|
|
||||||
<p>To link to an anchor inside a page, you can use something like
|
|
||||||
<code>[[WikiLink#foo]]</code> .</p>
|
|
||||||
|
|
||||||
<p>If the file linked to by a WikiLink looks like an image, it will
|
|
||||||
be displayed inline on the page.</p>
|
|
||||||
|
|
||||||
<hr />
|
|
||||||
|
|
||||||
<p>You can also put an url in a WikiLink, to link to an external page.
|
|
||||||
Email addresses can also be used to generate a mailto link.</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="footer mt-auto py-2 bg-primary bg-opacity-25" role="contentinfo">
|
|
||||||
<div class="container-lg h-100">
|
|
||||||
<div class="text-center">
|
|
||||||
<h2>Liens intéressants</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href=https://www.facebook.com/GRIPUQAM" target="_blank">Page Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://www.facebook.com/groups/gripuqam" target="_blank">Groupe Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://assoarmu.wordpress.com/a-propos/" target="_blank">Association pour la Réappropriation des Milieux Urbains</a></li>
|
|
||||||
<li><a href="https://bibliothequedira.wordpress.com/" target="_blank">Bibliothèque DIRA</a></li>
|
|
||||||
<li><a href="https://www.resistancemontreal.org/calendrier" target="_blank">Calendrier Résistance Montréal</a></li>
|
|
||||||
<li><a href="https://www.clac-montreal.net/" target="_blank">Convergence des luttes anticapitalistes Montréal</a></li>
|
|
||||||
<li><a href="https://www.qpirgconcordia.org/" target="_blank">QPIRG Concordia GRIP</a></li>
|
|
||||||
<li><a href="https://qpirgmcgill.org/" target="_blank">QPIRG | GRIP McGill</a></li>
|
|
||||||
<li><a href="https://rqge.qc.ca/" target="_blank">Réseau Québecois des Groupes Écologistes</a></li>
|
|
||||||
<li><a href="https://www.pourlatransitionenergetique.org/" target="_blank">Front commun pour la transition énergétique</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
153
index.html
|
@ -1,90 +1,8 @@
|
||||||
<!DOCTYPE html>
|
[[!meta title="Accueil"]]
|
||||||
|
[[!meta description="Le Groupe de Recherche d’Intérêt Public du Québec à l’Université du Québec à Montréal (GRIP-UQAM) réunit des personnes de la communauté étudiante uqamienne souhaitant agir de façon équitable en visant le très long terme pour le bien-être social et écologique des collectivités présentes et futures dans une perspective anticoloniale."]]
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
|
|
||||||
<meta name='robots' content='max-image-preview:large' />
|
|
||||||
|
|
||||||
<!-- Facebook Meta Tags -->
|
|
||||||
<meta property="og:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta property="og:type" content="website">
|
|
||||||
<meta property="og:title" content="Accueil">
|
|
||||||
<meta property="og:description" content="GRIP-UQAM">
|
|
||||||
<meta property="og:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<!-- Twitter Meta Tags -->
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
|
||||||
<meta property="twitter:domain" content="cdpq-palestine.info">
|
|
||||||
<meta property="twitter:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta name="twitter:title" content="Accueil">
|
|
||||||
<meta name="twitter:description" content="GRIP-UQAM">
|
|
||||||
<meta name="twitter:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<meta name="description" content="Le Groupe de Recherche d’Intérêt Public du Québec à l’Université du Québec à Montréal (GRIP-UQAM) réunit des personnes de la communauté étudiante uqamienne souhaitant agir de façon équitable en visant le très long terme pour le bien-être social et écologique des collectivités présentes et futures dans une perspective anticoloniale." />
|
|
||||||
|
|
||||||
<title>Accueil - GRIP-UQAM</title>
|
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="favicon-96x96.png" sizes="96x96" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
|
|
||||||
<link rel="shortcut icon" href="favicon.ico" />
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png" />
|
|
||||||
<meta name="apple-mobile-web-app-title" content="GRIP-UQAM" />
|
|
||||||
<link rel="manifest" href="site.webmanifest" />
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<!-- those checksums can be verified with: shasum -b -a 384 $file | xxd -r -p |
|
|
||||||
base64 -->
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
||||||
|
|
||||||
<!-- Custom styles for derivatives -->
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="css/local.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- opendyslexic font -->
|
|
||||||
<link href="css/opendyslexic.css" rel="stylesheet" />
|
|
||||||
</head>
|
|
||||||
<body class="d-flex flex-column h-100">
|
|
||||||
<header>
|
|
||||||
<nav class="navbar navbar-expand-md navbar-light bg-danger text-white border" data-bs-theme="dark">
|
|
||||||
<div class="container-lg">
|
|
||||||
<a class="navbar-brand me-auto" href="">
|
|
||||||
<img alt="GRIP-UQAM" src="favicon-96x96.png" width="96" height="96" />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse">
|
|
||||||
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
|
|
||||||
<ul class="navbar-nav nav-link align-items-center ms-auto">
|
|
||||||
<li><span class="selflink">Accueil</span></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="flex-shrink-0 bg-secondary">
|
|
||||||
<div id="content">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="block">
|
<div class="block">
|
||||||
<a href="https://f.gripuqam.org/bienvenue?newtest=Y" target="_blank">Abonne-toi à notre infolettre, dis-nous tes intérêts</a> ou envoie-nous <span class="createlink">un courriel</span> ! <img src="./smileys/smile.png" alt=":)" />
|
<a href="https://f.gripuqam.org/bienvenue?newtest=Y" target="_blank">Abonne-toi à notre infolettre, dis-nous tes intérêts</a> ou envoie-nous [[un courriel|contact]] ! :)
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="block">
|
<div class="block">
|
||||||
|
@ -95,19 +13,19 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="./#achoppe">Centre Social l'Achoppe</a></li>
|
<li>[[Centre Social l'Achoppe|index#achoppe]]</li>
|
||||||
<li><a href="./#coordination">Coordination</a></li>
|
<li>[[Coordination|index#coordination]]</li>
|
||||||
<li><a href="./#crapaud">CRAPAUD</a></li>
|
<li>[[CRAPAUD|index#crapaud]]</li>
|
||||||
<li><a href="./#educpop">Éducation Populaire</a></li>
|
<li>[[Éducation Populaire|index#educpop]]</li>
|
||||||
<li><a href="./#lueurs">Lueurs</a></li>
|
<li>[[Lueurs|index#lueurs]]</li>
|
||||||
<li><a href="./#medialibre">Médi@s Libres</a></li>
|
<li>[[Médi@s Libres|index#medialibre]]</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="./#pasc">Projet Accompagnement Solidarité Colombie (PASC)</a></li>
|
<li>[[Projet Accompagnement Solidarité Colombie (PASC)|index#pasc]]</li>
|
||||||
<li><a href="./#sosterritoire">SOS Territoire / l'Alliance Mamo en construction</a></li>
|
<li>[[SOS Territoire / l'Alliance Mamo en construction|index#sosterritoire]]</li>
|
||||||
<li><a href="./#stasis">Stasis</a></li>
|
<li>[[Stasis|index#stasis]]</li>
|
||||||
<ul>
|
<ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -116,7 +34,7 @@
|
||||||
|
|
||||||
<p>Voir les [[anciens comités|ancienscomites].</p>
|
<p>Voir les [[anciens comités|ancienscomites].</p>
|
||||||
|
|
||||||
<p>Voir les <span class="createlink">questions-réponses</span>.</p>
|
<p>Voir les [[questions-réponses|faq]].</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="block">
|
<div class="block">
|
||||||
|
@ -145,7 +63,7 @@
|
||||||
une communication avec et entre les comités et organisent des activités
|
une communication avec et entre les comités et organisent des activités
|
||||||
d’intérêt général.</p>
|
d’intérêt général.</p>
|
||||||
|
|
||||||
<span class="createlink">Joignez-nous</span> ! <span class="createlink">Écrivez-nous</span> !
|
[[Joignez-nous|se-joindre]] ! [[Écrivez-nous|contact]] !
|
||||||
|
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<p><a href="https://www.instagram.com/grip_uqam/" class="instagram" target="_blank">Instagram</a> <a href="https://www.facebook.com/GRIPUQAM" class="facebook" target="_blank">Facebook</a> <a href="mailto:info@gripuqam.org" class="email" target="_blank">Email</a> <a href="https://gripuqam.org/" class="website" target="_blank">Site web</a></p>
|
<p><a href="https://www.instagram.com/grip_uqam/" class="instagram" target="_blank">Instagram</a> <a href="https://www.facebook.com/GRIPUQAM" class="facebook" target="_blank">Facebook</a> <a href="mailto:info@gripuqam.org" class="email" target="_blank">Email</a> <a href="https://gripuqam.org/" class="website" target="_blank">Site web</a></p>
|
||||||
|
@ -228,7 +146,7 @@
|
||||||
<a name="sosterritoire">
|
<a name="sosterritoire">
|
||||||
<h2>SOS Territoire</h2>
|
<h2>SOS Territoire</h2>
|
||||||
|
|
||||||
<p>SOS Territoire est un comité du <span class="createlink">GRIP-UQAM</span> et un groupe de
|
<p>SOS Territoire est un comité du [[GRIP-UQAM|a-propos]] et un groupe de
|
||||||
recherche et d’action pour la protection du territoire dans une perspective
|
recherche et d’action pour la protection du territoire dans une perspective
|
||||||
d'écologie sociale en visant un rapprochement entre les autochtones et
|
d'écologie sociale en visant un rapprochement entre les autochtones et
|
||||||
non-autochtones, notamment à travers l’Alliance Mamo en construction.</p>
|
non-autochtones, notamment à travers l’Alliance Mamo en construction.</p>
|
||||||
|
@ -252,7 +170,7 @@
|
||||||
société écologique et conviviale.</p>
|
société écologique et conviviale.</p>
|
||||||
|
|
||||||
<p>Au sein du GRIP-UQAM, et lorsque possible en partenariat avec d'autres
|
<p>Au sein du GRIP-UQAM, et lorsque possible en partenariat avec d'autres
|
||||||
comités tels <a href="./#anarchives">Anarchives</a> et le <a href="./#pasc">PASC</a> ou
|
comités tels [[Anarchives|index#anarchives]] et le [[PASC|index#pasc]] ou
|
||||||
encore le <a href="https://cpnuqam.ca/" target="_blank">Cercle des Premières
|
encore le <a href="https://cpnuqam.ca/" target="_blank">Cercle des Premières
|
||||||
Nations de l'UQAM (CPNUQAM)</a>, le comité SOS Territoire travaille sur
|
Nations de l'UQAM (CPNUQAM)</a>, le comité SOS Territoire travaille sur
|
||||||
l'aspect anticolonial de l'écologie sociale, notamment à travers le support
|
l'aspect anticolonial de l'écologie sociale, notamment à travers le support
|
||||||
|
@ -302,8 +220,8 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="https://www.facebook.com/alliancemamoenconstruction/" target="_blank">L'Alliance Mamo en construction</a>, initiative portée par SOS Territoire<li>
|
<li><a href="https://www.facebook.com/alliancemamoenconstruction/" target="_blank">L'Alliance Mamo en construction</a>, initiative portée par SOS Territoire<li>
|
||||||
<li>Pour nous rejoindre :<a href="mailto:sos_territoire_ma@lists.riseup.net" target="_blank">sos_territoire_ma@lists.riseup.net</a></li>
|
<li>Pour nous rejoindre :<a href="mailto:sos_territoire_ma@lists.riseup.net" target="_blank">sos_territoire_ma@lists.riseup.net</a></li>
|
||||||
<li><span class="createlink">Page du cercle Aiatshitau Mamu</span> (subvention par et presque en totalité pour autochtones)</li>
|
<li>[[Page du cercle Aiatshitau Mamu|terrenoncedees#cercle]] (subvention par et presque en totalité pour autochtones)</li>
|
||||||
<li><span class="createlink">Page sur les luttes autochtones</span></li>
|
<li>[[Page sur les luttes autochtones|terrenoncedees]]</li>
|
||||||
<li><a href="https://share.mayfirst.org/s/bmFJkbkH4fSFyZC" target="_blank">Ressources anticoloniales</a></li>
|
<li><a href="https://share.mayfirst.org/s/bmFJkbkH4fSFyZC" target="_blank">Ressources anticoloniales</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
@ -344,38 +262,3 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="footer mt-auto py-2 bg-primary bg-opacity-25" role="contentinfo">
|
|
||||||
<div class="container-lg h-100">
|
|
||||||
<div class="text-center">
|
|
||||||
<h2>Liens intéressants</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href=https://www.facebook.com/GRIPUQAM" target="_blank">Page Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://www.facebook.com/groups/gripuqam" target="_blank">Groupe Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://assoarmu.wordpress.com/a-propos/" target="_blank">Association pour la Réappropriation des Milieux Urbains</a></li>
|
|
||||||
<li><a href="https://bibliothequedira.wordpress.com/" target="_blank">Bibliothèque DIRA</a></li>
|
|
||||||
<li><a href="https://www.resistancemontreal.org/calendrier" target="_blank">Calendrier Résistance Montréal</a></li>
|
|
||||||
<li><a href="https://www.clac-montreal.net/" target="_blank">Convergence des luttes anticapitalistes Montréal</a></li>
|
|
||||||
<li><a href="https://www.qpirgconcordia.org/" target="_blank">QPIRG Concordia GRIP</a></li>
|
|
||||||
<li><a href="https://qpirgmcgill.org/" target="_blank">QPIRG | GRIP McGill</a></li>
|
|
||||||
<li><a href="https://rqge.qc.ca/" target="_blank">Réseau Québecois des Groupes Écologistes</a></li>
|
|
||||||
<li><a href="https://www.pourlatransitionenergetique.org/" target="_blank">Front commun pour la transition énergétique</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
/* ikiwiki local style sheet */
|
|
||||||
|
|
||||||
/* Add local styling here, instead of modifying style.css. */
|
|
325
plugins/IkiWiki/Plugin/img.pm
Normal file
|
@ -0,0 +1,325 @@
|
||||||
|
#!/usr/bin/perl
|
||||||
|
# Ikiwiki enhanced image handling plugin
|
||||||
|
# Christian Mock cm@tahina.priv.at 20061002
|
||||||
|
package IkiWiki::Plugin::img;
|
||||||
|
|
||||||
|
use warnings;
|
||||||
|
use strict;
|
||||||
|
use IkiWiki 3.00;
|
||||||
|
|
||||||
|
my %imgdefaults;
|
||||||
|
|
||||||
|
sub import {
|
||||||
|
hook(type => "getsetup", id => "img", call => \&getsetup);
|
||||||
|
hook(type => "preprocess", id => "img", call => \&preprocess, scan => 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
sub getsetup () {
|
||||||
|
return
|
||||||
|
plugin => {
|
||||||
|
safe => 1,
|
||||||
|
rebuild => undef,
|
||||||
|
section => "widget",
|
||||||
|
},
|
||||||
|
img_allowed_formats => {
|
||||||
|
type => "string",
|
||||||
|
default => [qw(jpeg png gif svg webp)],
|
||||||
|
description => "Image formats to process (jpeg, png, gif, svg, webp, pdf or 'everything' to accept all)",
|
||||||
|
# ImageMagick has had arbitrary code execution flaws,
|
||||||
|
# and the whole delegates mechanism is scary from
|
||||||
|
# that perspective
|
||||||
|
safe => 0,
|
||||||
|
rebuild => 0,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
sub allowed {
|
||||||
|
my $format = shift;
|
||||||
|
my $allowed = $config{img_allowed_formats};
|
||||||
|
$allowed = ['jpeg', 'png', 'gif', 'svg', 'webp'] unless defined $allowed && @$allowed;
|
||||||
|
|
||||||
|
foreach my $a (@$allowed) {
|
||||||
|
return 1 if lc($a) eq $format || lc($a) eq 'everything';
|
||||||
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub preprocess (@) {
|
||||||
|
my ($image) = $_[0] =~ /$config{wiki_file_regexp}/; # untaint
|
||||||
|
my %params=@_;
|
||||||
|
|
||||||
|
if (! defined $image) {
|
||||||
|
error("bad image filename");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (exists $imgdefaults{$params{page}}) {
|
||||||
|
foreach my $key (keys %{$imgdefaults{$params{page}}}) {
|
||||||
|
if (! exists $params{$key}) {
|
||||||
|
$params{$key}=$imgdefaults{$params{page}}->{$key};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (! exists $params{size} || ! length $params{size}) {
|
||||||
|
$params{size}='full';
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($image eq 'defaults') {
|
||||||
|
$imgdefaults{$params{page}} = \%params;
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
|
add_link($params{page}, $image);
|
||||||
|
add_depends($params{page}, $image);
|
||||||
|
|
||||||
|
# optimisation: detect scan mode, and avoid generating the image
|
||||||
|
if (! defined wantarray) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
my $file = bestlink($params{page}, $image);
|
||||||
|
my $srcfile = srcfile($file, 1);
|
||||||
|
if (! length $file || ! defined $srcfile) {
|
||||||
|
return htmllink($params{page}, $params{destpage}, $image);
|
||||||
|
}
|
||||||
|
|
||||||
|
my $dir = $params{page};
|
||||||
|
my $base = IkiWiki::basename($file);
|
||||||
|
my $extension;
|
||||||
|
my $format;
|
||||||
|
|
||||||
|
if ($base =~ m/\.([a-z0-9]+)$/is) {
|
||||||
|
$extension = $1;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
error gettext("Unable to detect image type from extension");
|
||||||
|
}
|
||||||
|
|
||||||
|
# Never interpret well-known file extensions as any other format,
|
||||||
|
# in case the wiki configuration unwisely allows attaching
|
||||||
|
# arbitrary files named *.jpg, etc.
|
||||||
|
my $magic;
|
||||||
|
my $offset = 0;
|
||||||
|
open(my $in, '<', $srcfile) or error sprintf(gettext("failed to read %s: %s"), $file, $!);
|
||||||
|
binmode($in);
|
||||||
|
|
||||||
|
if ($extension =~ m/^(jpeg|jpg)$/is) {
|
||||||
|
$format = 'jpeg';
|
||||||
|
$magic = "\377\330\377";
|
||||||
|
}
|
||||||
|
elsif ($extension =~ m/^(png)$/is) {
|
||||||
|
$format = 'png';
|
||||||
|
$magic = "\211PNG\r\n\032\n";
|
||||||
|
}
|
||||||
|
elsif ($extension =~ m/^(gif)$/is) {
|
||||||
|
$format = 'gif';
|
||||||
|
$magic = "GIF8";
|
||||||
|
}
|
||||||
|
elsif ($extension =~ m/^(svg)$/is) {
|
||||||
|
$format = 'svg';
|
||||||
|
}
|
||||||
|
elsif ($extension =~ m/^(webp)$/is) {
|
||||||
|
$format = 'webp';
|
||||||
|
}
|
||||||
|
elsif ($extension =~ m/^(pdf)$/is) {
|
||||||
|
$format = 'pdf';
|
||||||
|
$magic = "%PDF-";
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
# allow ImageMagick to auto-detect (potentially dangerous)
|
||||||
|
my $im = Image::Magick->new();
|
||||||
|
my $r = $im->Ping(file => $in);
|
||||||
|
if ($r) {
|
||||||
|
$format = lc $r;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
error sprintf(gettext("failed to determine format of %s"), $file);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
error sprintf(gettext("%s image processing disabled in img_allowed_formats configuration"), $format ? $format : "\"$extension\"") unless allowed($format ? $format : "everything");
|
||||||
|
|
||||||
|
# Try harder to protect ImageMagick from itself
|
||||||
|
if (defined $magic) {
|
||||||
|
my $content;
|
||||||
|
read($in, $content, length $magic) or error sprintf(gettext("failed to read %s: %s"), $file, $!);
|
||||||
|
if ($magic ne $content) {
|
||||||
|
error sprintf(gettext("\"%s\" does not seem to be a valid %s file"), $file, $format);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
my $ispdf = $base=~s/\.pdf$/.png/i;
|
||||||
|
my $pagenumber = exists($params{pagenumber}) ? int($params{pagenumber}) : 0;
|
||||||
|
if ($pagenumber != 0) {
|
||||||
|
$base = "p$pagenumber-$base";
|
||||||
|
}
|
||||||
|
|
||||||
|
my $imglink;
|
||||||
|
my $imgdatalink;
|
||||||
|
my ($dwidth, $dheight);
|
||||||
|
|
||||||
|
my ($w, $h);
|
||||||
|
if ($params{size} ne 'full') {
|
||||||
|
($w, $h) = ($params{size} =~ /^(\d*)x(\d*)$/);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($format eq 'svg') {
|
||||||
|
# svg images are not scaled using ImageMagick because the
|
||||||
|
# pipeline is complex. Instead, the image size is simply
|
||||||
|
# set to the provided values.
|
||||||
|
#
|
||||||
|
# Aspect ratio will be preserved automatically when
|
||||||
|
# only a width or only a height is specified.
|
||||||
|
# When both are specified, aspect ratio will not be
|
||||||
|
# preserved.
|
||||||
|
$imglink = $file;
|
||||||
|
$dwidth = $w if length $w;
|
||||||
|
$dheight = $h if length $h;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
eval q{use Image::Magick};
|
||||||
|
error gettext("Image::Magick is not installed") if $@;
|
||||||
|
my $im = Image::Magick->new();
|
||||||
|
my $r = $im->Read("$format:$srcfile\[$pagenumber]");
|
||||||
|
error sprintf(gettext("failed to read %s: %s"), $file, $r) if $r;
|
||||||
|
|
||||||
|
if ($config{deterministic}) {
|
||||||
|
$im->Set('date:create' => 0);
|
||||||
|
$im->Set('date:modify' => 0);
|
||||||
|
$im->Set('option' => 'png:exclude-chunk=time');
|
||||||
|
}
|
||||||
|
|
||||||
|
if (! defined $im->Get("width") || ! defined $im->Get("height")) {
|
||||||
|
error sprintf(gettext("failed to get dimensions of %s"), $file);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (! length $w && ! length $h) {
|
||||||
|
$dwidth = $im->Get("width");
|
||||||
|
$dheight = $im->Get("height");
|
||||||
|
} else {
|
||||||
|
error sprintf(gettext('wrong size format "%s" (should be WxH)'), $params{size})
|
||||||
|
unless (defined $w && defined $h &&
|
||||||
|
(length $w || length $h));
|
||||||
|
|
||||||
|
if ($im->Get("width") == 0 || $im->Get("height") == 0) {
|
||||||
|
($dwidth, $dheight)=(0, 0);
|
||||||
|
} elsif (! length $w || (length $h && $im->Get("height")*$w > $h * $im->Get("width"))) {
|
||||||
|
# using height because only height is given or ...
|
||||||
|
# because original image is more portrait than $w/$h
|
||||||
|
# ... slimness of $im > $h/w
|
||||||
|
# ... $im->Get("height")/$im->Get("width") > $h/$w
|
||||||
|
# ... $im->Get("height")*$w > $h * $im->Get("width")
|
||||||
|
|
||||||
|
$dheight=$h;
|
||||||
|
$dwidth=$h / $im->Get("height") * $im->Get("width");
|
||||||
|
} else { # (! length $h) or $w is what determines the resized size
|
||||||
|
$dwidth=$w;
|
||||||
|
$dheight=$w / $im->Get("width") * $im->Get("height");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($dwidth < $im->Get("width") || $ispdf) {
|
||||||
|
# resize down, or resize to pixels at all
|
||||||
|
|
||||||
|
my $outfile = "$config{destdir}/$dir/$params{size}-$base";
|
||||||
|
$imglink = "$dir/$params{size}-$base";
|
||||||
|
|
||||||
|
will_render($params{page}, $imglink);
|
||||||
|
|
||||||
|
if (-e $outfile && (-M $srcfile >= -M $outfile)) {
|
||||||
|
$im = Image::Magick->new;
|
||||||
|
$r = $im->Read($outfile);
|
||||||
|
error sprintf(gettext("failed to read %s: %s"), $outfile, $r) if $r;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$r = $im->Resize(geometry => "${dwidth}x${dheight}");
|
||||||
|
error sprintf(gettext("failed to resize: %s"), $r) if $r;
|
||||||
|
|
||||||
|
$im->set($ispdf ? (magick => 'png') : ());
|
||||||
|
my @blob = $im->ImageToBlob();
|
||||||
|
# don't actually write resized file in preview mode;
|
||||||
|
# rely on width and height settings
|
||||||
|
if (! $params{preview}) {
|
||||||
|
writefile($imglink, $config{destdir}, $blob[0], 1);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
eval q{use MIME::Base64};
|
||||||
|
error($@) if $@;
|
||||||
|
$imgdatalink = "data:image/".$im->Get("magick").";base64,".encode_base64($blob[0]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
# always get the true size of the resized image (it could be
|
||||||
|
# that imagemagick did its calculations differently)
|
||||||
|
$dwidth = $im->Get("width");
|
||||||
|
$dheight = $im->Get("height");
|
||||||
|
} else {
|
||||||
|
$imglink = $file;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (! defined($dwidth) || ! defined($dheight)) {
|
||||||
|
error sprintf(gettext("failed to determine size of image %s"), $file)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
my ($fileurl, $imgurl);
|
||||||
|
my $urltobase = $params{preview} ? undef : $params{destpage};
|
||||||
|
$fileurl=urlto($file, $urltobase);
|
||||||
|
$imgurl=$imgdatalink ? $imgdatalink : urlto($imglink, $urltobase);
|
||||||
|
|
||||||
|
if (! exists $params{class}) {
|
||||||
|
$params{class}="img";
|
||||||
|
}
|
||||||
|
|
||||||
|
my $attrs='';
|
||||||
|
foreach my $attr (qw{alt title class id hspace vspace}) {
|
||||||
|
if (exists $params{$attr}) {
|
||||||
|
$attrs.=" $attr=\"$params{$attr}\"";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
my $imgtag='<img src="'.$imgurl.'"';
|
||||||
|
$imgtag.=' width="'.$dwidth.'"' if defined $dwidth;
|
||||||
|
$imgtag.=' height="'.$dheight.'"' if defined $dheight;
|
||||||
|
$imgtag.= $attrs.
|
||||||
|
(exists $params{align} && ! exists $params{caption} ? ' align="'.$params{align}.'"' : '').
|
||||||
|
' />';
|
||||||
|
|
||||||
|
my $link;
|
||||||
|
if (! defined $params{link}) {
|
||||||
|
$link=$fileurl;
|
||||||
|
}
|
||||||
|
elsif ($params{link} =~ /^\w+:\/\//) {
|
||||||
|
$link=$params{link};
|
||||||
|
}
|
||||||
|
|
||||||
|
if (defined $link) {
|
||||||
|
$imgtag='<a href="'.$link.'">'.$imgtag.'</a>';
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
my $b = bestlink($params{page}, $params{link});
|
||||||
|
|
||||||
|
if (length $b) {
|
||||||
|
add_depends($params{page}, $b, deptype("presence"));
|
||||||
|
$imgtag=htmllink($params{page}, $params{destpage},
|
||||||
|
$params{link}, linktext => $imgtag,
|
||||||
|
noimageinline => 1,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (exists $params{caption}) {
|
||||||
|
return '<table class="img'.
|
||||||
|
(exists $params{align} ? " align-$params{align}" : "").
|
||||||
|
'">'.
|
||||||
|
'<caption>'.$params{caption}.'</caption>'.
|
||||||
|
'<tr><td>'.$imgtag.'</td></tr>'.
|
||||||
|
'</table>';
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
return $imgtag;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
1
|
214
plugins/IkiWiki/Plugin/sidebar2.pm
Normal file
|
@ -0,0 +1,214 @@
|
||||||
|
#!/usr/bin/perl
|
||||||
|
package IkiWiki::Plugin::sidebar2;
|
||||||
|
|
||||||
|
=head1 NAME
|
||||||
|
|
||||||
|
IkiWiki::Plugin::sidebar2 - Improved version of IkiWiki::Plugin::sidebar
|
||||||
|
|
||||||
|
=head1 VERSION
|
||||||
|
|
||||||
|
This describes version B<0.1> of IkiWiki::Plugin::sidebar2
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
our $VERSION = '0.1';
|
||||||
|
|
||||||
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
Improved version of IkiWiki::Plugin::sidebar2. Main features are:
|
||||||
|
|
||||||
|
- allowing several sidebars;
|
||||||
|
- enabling sidebars using pagespects.
|
||||||
|
|
||||||
|
See doc/plugins/sidebar2.mdwn for documentation.
|
||||||
|
|
||||||
|
=head1 PREREQUISITES
|
||||||
|
|
||||||
|
IkiWiki
|
||||||
|
|
||||||
|
=head1 URL
|
||||||
|
|
||||||
|
http://atelier.gresille.org/projects/gresille-ikiwiki/wiki/Sidebar2
|
||||||
|
http://ikiwiki.info/plugins/contrib/sidebar2/
|
||||||
|
|
||||||
|
=head1 AUTHOR
|
||||||
|
|
||||||
|
Tuomo Valkonen wrote the original Ikiwiki::plugin::sidebar.
|
||||||
|
Others (on http://ikiwiki.info) helped to improve it.
|
||||||
|
Louis Paternault (spalax) <spalax at gresille dot org> improved it to write Ikiwiki::plugin::sidebar2.
|
||||||
|
|
||||||
|
=head1 COPYRIGHT
|
||||||
|
|
||||||
|
Copyright 2006 Tuomo Valkonen <tuomov at iki dot fi>
|
||||||
|
Copyright 2013 by Louis Paternault <spalax at gresille dot org>
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
use warnings;
|
||||||
|
use strict;
|
||||||
|
use IkiWiki 3.00;
|
||||||
|
|
||||||
|
sub import {
|
||||||
|
hook(type => "checkconfig", id => "sidebar2", call => \&checkconfig);
|
||||||
|
hook(type => "getsetup", id => "sidebar2", call => \&getsetup);
|
||||||
|
hook(type => "preprocess", id => "sidebar", call => \&preprocess);
|
||||||
|
hook(type => "pagetemplate", id => "sidebar2", call => \&pagetemplate);
|
||||||
|
}
|
||||||
|
|
||||||
|
sub checkconfig () {
|
||||||
|
# Parsing "sidebars"
|
||||||
|
my %sidebars;
|
||||||
|
if (defined $config{global_sidebars} and (ref($config{global_sidebars}) eq "ARRAY")) {
|
||||||
|
my $length = $#{$config{global_sidebars}}+1;
|
||||||
|
if (($length % 3) != 0) {
|
||||||
|
error("'sidebars' length must be a multiple of 3.");
|
||||||
|
}
|
||||||
|
for(my $i=0; $i<$length/3;$i += 1) {
|
||||||
|
unless(exists($sidebars{$config{global_sidebars}[3*$i]})) {
|
||||||
|
$sidebars{$config{global_sidebars}[3*$i]} = ();
|
||||||
|
}
|
||||||
|
push(
|
||||||
|
@{$sidebars{$config{global_sidebars}[3*$i]}},
|
||||||
|
@{[[
|
||||||
|
$config{global_sidebars}[3*$i+1],
|
||||||
|
$config{global_sidebars}[3*$i+2],
|
||||||
|
]]}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if (not defined $config{global_sidebars}) {
|
||||||
|
$config{global_sidebars} = 1;
|
||||||
|
}
|
||||||
|
if (IkiWiki::yesno($config{global_sidebars})) {
|
||||||
|
%sidebars = (
|
||||||
|
"sidebar" => [["sidebar", "*"]]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@{$config{sidebars}} = %sidebars;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub getsetup () {
|
||||||
|
return
|
||||||
|
plugin => {
|
||||||
|
safe => 1,
|
||||||
|
rebuild => 1,
|
||||||
|
},
|
||||||
|
global_sidebars => {
|
||||||
|
type => "boolean",
|
||||||
|
example => 1,
|
||||||
|
description => "show sidebar page on all pages?",
|
||||||
|
safe => 1,
|
||||||
|
rebuild => 1,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
my %pagesidebar;
|
||||||
|
|
||||||
|
sub preprocess (@) {
|
||||||
|
my %params=@_;
|
||||||
|
|
||||||
|
my $page=$params{page};
|
||||||
|
return "" unless $page eq $params{destpage};
|
||||||
|
|
||||||
|
if (! defined $params{var}) {
|
||||||
|
$params{var} = "sidebar";
|
||||||
|
}
|
||||||
|
if (! defined $params{content}) {
|
||||||
|
$pagesidebar{$page}{$params{var}}=undef;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
my $file = $pagesources{$page};
|
||||||
|
my $type = pagetype($file);
|
||||||
|
|
||||||
|
unless(exists($pagesidebar{$page})) {
|
||||||
|
$pagesidebar{$page} = ();
|
||||||
|
}
|
||||||
|
$pagesidebar{$page}{$params{var}} = IkiWiki::htmlize($page, $page, $type,
|
||||||
|
IkiWiki::linkify($page, $page,
|
||||||
|
IkiWiki::preprocess($page, $page, $params{content})));
|
||||||
|
}
|
||||||
|
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
my $oldfile;
|
||||||
|
my $oldcontent;
|
||||||
|
|
||||||
|
sub sidebar_content ($$$$) {
|
||||||
|
my $templatevar=shift;
|
||||||
|
my $page=shift;
|
||||||
|
my $included=shift;
|
||||||
|
my $pagespec=shift;
|
||||||
|
|
||||||
|
return delete $pagesidebar{$page}{$templatevar} if defined $pagesidebar{$page}{$templatevar};
|
||||||
|
|
||||||
|
return if ! exists $pagesidebar{$page}{$templatevar} &&
|
||||||
|
! pagespec_match($page, $pagespec)
|
||||||
|
;
|
||||||
|
|
||||||
|
my $sidebar_page=bestlink($page, $included) || return;
|
||||||
|
my $sidebar_file=$pagesources{$sidebar_page} || return;
|
||||||
|
my $sidebar_type=pagetype($sidebar_file);
|
||||||
|
|
||||||
|
if (defined $sidebar_type) {
|
||||||
|
# FIXME: This isn't quite right; it won't take into account
|
||||||
|
# adding a new sidebar page. So adding such a page
|
||||||
|
# currently requires a wiki rebuild.
|
||||||
|
add_depends($page, $sidebar_page);
|
||||||
|
|
||||||
|
my $content;
|
||||||
|
if (defined $oldfile && $sidebar_file eq $oldfile) {
|
||||||
|
$content=$oldcontent;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$content=readfile(srcfile($sidebar_file));
|
||||||
|
$oldcontent=$content;
|
||||||
|
$oldfile=$sidebar_file;
|
||||||
|
}
|
||||||
|
|
||||||
|
return unless length $content;
|
||||||
|
return IkiWiki::htmlize($sidebar_page, $page, $sidebar_type,
|
||||||
|
IkiWiki::linkify($sidebar_page, $page,
|
||||||
|
IkiWiki::preprocess($sidebar_page, $page,
|
||||||
|
IkiWiki::filter($sidebar_page, $page, $content))));
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
sub pagetemplate (@) {
|
||||||
|
my %params=@_;
|
||||||
|
|
||||||
|
my $template=$params{template};
|
||||||
|
my %sidebars = @{$config{sidebars}};
|
||||||
|
if ($params{destpage} eq $params{page}) {
|
||||||
|
foreach my $templatevar (keys(%sidebars)) {
|
||||||
|
if ($template->query(name => $templatevar) and exists($sidebars{$templatevar})) {
|
||||||
|
for my $data (@{$sidebars{$templatevar}}) {
|
||||||
|
my $content=sidebar_content($templatevar, $params{destpage}, @{$data}[0], @{$data}[1]);
|
||||||
|
if (defined $content && length $content) {
|
||||||
|
$template->param($templatevar => $content);
|
||||||
|
last;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
1
|
|
@ -1,124 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
|
|
||||||
<meta name='robots' content='max-image-preview:large' />
|
|
||||||
|
|
||||||
<!-- Facebook Meta Tags -->
|
|
||||||
<meta property="og:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta property="og:type" content="website">
|
|
||||||
<meta property="og:title" content="RecentChanges">
|
|
||||||
<meta property="og:description" content="GRIP-UQAM">
|
|
||||||
<meta property="og:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<!-- Twitter Meta Tags -->
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
|
||||||
<meta property="twitter:domain" content="cdpq-palestine.info">
|
|
||||||
<meta property="twitter:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta name="twitter:title" content="RecentChanges">
|
|
||||||
<meta name="twitter:description" content="GRIP-UQAM">
|
|
||||||
<meta name="twitter:image" content="/og-image.png">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>RecentChanges - GRIP-UQAM</title>
|
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="../favicon-96x96.png" sizes="96x96" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="../favicon.svg" />
|
|
||||||
<link rel="shortcut icon" href="../favicon.ico" />
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="../apple-touch-icon.png" />
|
|
||||||
<meta name="apple-mobile-web-app-title" content="GRIP-UQAM" />
|
|
||||||
<link rel="manifest" href="../site.webmanifest" />
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<!-- those checksums can be verified with: shasum -b -a 384 $file | xxd -r -p |
|
|
||||||
base64 -->
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
||||||
|
|
||||||
<!-- Custom styles for derivatives -->
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../css/local.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- opendyslexic font -->
|
|
||||||
<link href="../css/opendyslexic.css" rel="stylesheet" />
|
|
||||||
</head>
|
|
||||||
<body class="d-flex flex-column h-100">
|
|
||||||
<header>
|
|
||||||
<nav class="navbar navbar-expand-md navbar-light bg-danger text-white border" data-bs-theme="dark">
|
|
||||||
<div class="container-lg">
|
|
||||||
<a class="navbar-brand me-auto" href="../">
|
|
||||||
<img alt="GRIP-UQAM" src="../favicon-96x96.png" width="96" height="96" />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse">
|
|
||||||
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
|
|
||||||
<ul class="navbar-nav nav-link align-items-center ms-auto">
|
|
||||||
<li><a href="../">Accueil</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="flex-shrink-0 bg-secondary">
|
|
||||||
<div id="content">
|
|
||||||
<p>Recent changes to this wiki:</p>
|
|
||||||
|
|
||||||
<div class="feedlink">
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="footer mt-auto py-2 bg-primary bg-opacity-25" role="contentinfo">
|
|
||||||
<div class="container-lg h-100">
|
|
||||||
<div class="text-center">
|
|
||||||
<h2>Liens intéressants</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href=https://www.facebook.com/GRIPUQAM" target="_blank">Page Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://www.facebook.com/groups/gripuqam" target="_blank">Groupe Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://assoarmu.wordpress.com/a-propos/" target="_blank">Association pour la Réappropriation des Milieux Urbains</a></li>
|
|
||||||
<li><a href="https://bibliothequedira.wordpress.com/" target="_blank">Bibliothèque DIRA</a></li>
|
|
||||||
<li><a href="https://www.resistancemontreal.org/calendrier" target="_blank">Calendrier Résistance Montréal</a></li>
|
|
||||||
<li><a href="https://www.clac-montreal.net/" target="_blank">Convergence des luttes anticapitalistes Montréal</a></li>
|
|
||||||
<li><a href="https://www.qpirgconcordia.org/" target="_blank">QPIRG Concordia GRIP</a></li>
|
|
||||||
<li><a href="https://qpirgmcgill.org/" target="_blank">QPIRG | GRIP McGill</a></li>
|
|
||||||
<li><a href="https://rqge.qc.ca/" target="_blank">Réseau Québecois des Groupes Écologistes</a></li>
|
|
||||||
<li><a href="https://www.pourlatransitionenergetique.org/" target="_blank">Front commun pour la transition énergétique</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,157 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
|
|
||||||
<meta name='robots' content='max-image-preview:large' />
|
|
||||||
|
|
||||||
<!-- Facebook Meta Tags -->
|
|
||||||
<meta property="og:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta property="og:type" content="website">
|
|
||||||
<meta property="og:title" content="sandbox">
|
|
||||||
<meta property="og:description" content="GRIP-UQAM">
|
|
||||||
<meta property="og:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<!-- Twitter Meta Tags -->
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
|
||||||
<meta property="twitter:domain" content="cdpq-palestine.info">
|
|
||||||
<meta property="twitter:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta name="twitter:title" content="sandbox">
|
|
||||||
<meta name="twitter:description" content="GRIP-UQAM">
|
|
||||||
<meta name="twitter:image" content="/og-image.png">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>sandbox - GRIP-UQAM</title>
|
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="../favicon-96x96.png" sizes="96x96" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="../favicon.svg" />
|
|
||||||
<link rel="shortcut icon" href="../favicon.ico" />
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="../apple-touch-icon.png" />
|
|
||||||
<meta name="apple-mobile-web-app-title" content="GRIP-UQAM" />
|
|
||||||
<link rel="manifest" href="../site.webmanifest" />
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<!-- those checksums can be verified with: shasum -b -a 384 $file | xxd -r -p |
|
|
||||||
base64 -->
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
||||||
|
|
||||||
<!-- Custom styles for derivatives -->
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../css/local.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- opendyslexic font -->
|
|
||||||
<link href="../css/opendyslexic.css" rel="stylesheet" />
|
|
||||||
</head>
|
|
||||||
<body class="d-flex flex-column h-100">
|
|
||||||
<header>
|
|
||||||
<nav class="navbar navbar-expand-md navbar-light bg-danger text-white border" data-bs-theme="dark">
|
|
||||||
<div class="container-lg">
|
|
||||||
<a class="navbar-brand me-auto" href="../">
|
|
||||||
<img alt="GRIP-UQAM" src="../favicon-96x96.png" width="96" height="96" />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse">
|
|
||||||
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
|
|
||||||
<ul class="navbar-nav nav-link align-items-center ms-auto">
|
|
||||||
<li><a href="../">Accueil</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="flex-shrink-0 bg-secondary">
|
|
||||||
<div id="content">
|
|
||||||
<p>This is the SandBox, a page anyone can edit to learn how to use the wiki.</p>
|
|
||||||
|
|
||||||
<hr />
|
|
||||||
|
|
||||||
<p>Here's a paragraph.</p>
|
|
||||||
|
|
||||||
<p>Here's another one with <em>emphasised</em> text.</p>
|
|
||||||
|
|
||||||
<h1>Header</h1>
|
|
||||||
|
|
||||||
<h2>Subheader</h2>
|
|
||||||
|
|
||||||
<blockquote>
|
|
||||||
<p>This is a blockquote.</p>
|
|
||||||
|
|
||||||
<p>This is the first level of quoting.</p>
|
|
||||||
|
|
||||||
<blockquote>
|
|
||||||
<p>This is nested blockquote.</p>
|
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<p>Back to the first level.</p>
|
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
<p>Numbered list </p>
|
|
||||||
|
|
||||||
<ol>
|
|
||||||
<li>First item.</li>
|
|
||||||
<li>Another.</li>
|
|
||||||
<li>And another..</li>
|
|
||||||
</ol>
|
|
||||||
|
|
||||||
<p>Bulleted list</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><em>item</em></li>
|
|
||||||
<li>item</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p><a href="../ikiwiki/wikilink/">WikiLink</a></p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="footer mt-auto py-2 bg-primary bg-opacity-25" role="contentinfo">
|
|
||||||
<div class="container-lg h-100">
|
|
||||||
<div class="text-center">
|
|
||||||
<h2>Liens intéressants</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href=https://www.facebook.com/GRIPUQAM" target="_blank">Page Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://www.facebook.com/groups/gripuqam" target="_blank">Groupe Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://assoarmu.wordpress.com/a-propos/" target="_blank">Association pour la Réappropriation des Milieux Urbains</a></li>
|
|
||||||
<li><a href="https://bibliothequedira.wordpress.com/" target="_blank">Bibliothèque DIRA</a></li>
|
|
||||||
<li><a href="https://www.resistancemontreal.org/calendrier" target="_blank">Calendrier Résistance Montréal</a></li>
|
|
||||||
<li><a href="https://www.clac-montreal.net/" target="_blank">Convergence des luttes anticapitalistes Montréal</a></li>
|
|
||||||
<li><a href="https://www.qpirgconcordia.org/" target="_blank">QPIRG Concordia GRIP</a></li>
|
|
||||||
<li><a href="https://qpirgmcgill.org/" target="_blank">QPIRG | GRIP McGill</a></li>
|
|
||||||
<li><a href="https://rqge.qc.ca/" target="_blank">Réseau Québecois des Groupes Écologistes</a></li>
|
|
||||||
<li><a href="https://www.pourlatransitionenergetique.org/" target="_blank">Front commun pour la transition énergétique</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,210 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
|
|
||||||
<meta name='robots' content='max-image-preview:large' />
|
|
||||||
|
|
||||||
<!-- Facebook Meta Tags -->
|
|
||||||
<meta property="og:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta property="og:type" content="website">
|
|
||||||
<meta property="og:title" content="shortcuts">
|
|
||||||
<meta property="og:description" content="GRIP-UQAM">
|
|
||||||
<meta property="og:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<!-- Twitter Meta Tags -->
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
|
||||||
<meta property="twitter:domain" content="cdpq-palestine.info">
|
|
||||||
<meta property="twitter:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta name="twitter:title" content="shortcuts">
|
|
||||||
<meta name="twitter:description" content="GRIP-UQAM">
|
|
||||||
<meta name="twitter:image" content="/og-image.png">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>shortcuts - GRIP-UQAM</title>
|
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="../favicon-96x96.png" sizes="96x96" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="../favicon.svg" />
|
|
||||||
<link rel="shortcut icon" href="../favicon.ico" />
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="../apple-touch-icon.png" />
|
|
||||||
<meta name="apple-mobile-web-app-title" content="GRIP-UQAM" />
|
|
||||||
<link rel="manifest" href="../site.webmanifest" />
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<!-- those checksums can be verified with: shasum -b -a 384 $file | xxd -r -p |
|
|
||||||
base64 -->
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
||||||
|
|
||||||
<!-- Custom styles for derivatives -->
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../css/local.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- opendyslexic font -->
|
|
||||||
<link href="../css/opendyslexic.css" rel="stylesheet" />
|
|
||||||
</head>
|
|
||||||
<body class="d-flex flex-column h-100">
|
|
||||||
<header>
|
|
||||||
<nav class="navbar navbar-expand-md navbar-light bg-danger text-white border" data-bs-theme="dark">
|
|
||||||
<div class="container-lg">
|
|
||||||
<a class="navbar-brand me-auto" href="../">
|
|
||||||
<img alt="GRIP-UQAM" src="../favicon-96x96.png" width="96" height="96" />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse">
|
|
||||||
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
|
|
||||||
<ul class="navbar-nav nav-link align-items-center ms-auto">
|
|
||||||
<li><a href="../">Accueil</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="flex-shrink-0 bg-secondary">
|
|
||||||
<div id="content">
|
|
||||||
<p>This wiki has shortcuts <strong>enabled</strong>.</p>
|
|
||||||
|
|
||||||
<p>Some examples of using shortcuts include:</p>
|
|
||||||
|
|
||||||
<pre><code>[[!google foo]]
|
|
||||||
[[!wikipedia War_of_1812]]
|
|
||||||
[[!debbug 12345]]
|
|
||||||
Check the [[!google ikiwiki desc="google search for %s"]].
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<p>This page controls what shortcut links the wiki supports.</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>shortcut google points to <i>https://encrypted.google.com/search?q=%s</i></li>
|
|
||||||
<li>shortcut archive points to <i>http://web.archive.org/*/%S</i></li>
|
|
||||||
<li>shortcut gmap points to <i>https://maps.google.com/maps?q=%s</i></li>
|
|
||||||
<li>shortcut gmsg points to <i>https://groups.google.com/groups?selm=%s</i></li>
|
|
||||||
<li>shortcut wikipedia points to <i>https://en.wikipedia.org/wiki/%W</i></li>
|
|
||||||
<li>shortcut wikitravel points to <i>https://wikitravel.org/en/%s</i></li>
|
|
||||||
<li>shortcut wiktionary points to <i>https://en.wiktionary.org/wiki/%s</i></li>
|
|
||||||
<li>shortcut debbug points to <i>http://bugs.debian.org/%S</i></li>
|
|
||||||
<li>shortcut deblist points to <i>https://lists.debian.org/debian-%s</i></li>
|
|
||||||
<li>shortcut debpkg points to <i>http://packages.debian.org/%s</i></li>
|
|
||||||
<li>shortcut debpkgsid points to <i>http://packages.debian.org/sid/%s</i></li>
|
|
||||||
<li>shortcut debpts points to <i>http://packages.qa.debian.org/%s</i></li>
|
|
||||||
<li>shortcut debmsg points to <i>https://lists.debian.org/msgid-search/%s</i></li>
|
|
||||||
<li>shortcut debrt points to <i>https://rt.debian.org/Ticket/Display.html?id=%s</i></li>
|
|
||||||
<li>shortcut debss points to <i>http://snapshot.debian.org/package/%s/</i>
|
|
||||||
<ul>
|
|
||||||
<li>Usage: <code>[[!debss package]]</code> or <code>[[!debss package/version]]</code>. See <a href="http://snapshot.debian.org/">http://snapshot.debian.org/</a> for details.</li>
|
|
||||||
</ul></li>
|
|
||||||
<li>shortcut debwiki points to <i>https://wiki.debian.org/%S</i></li>
|
|
||||||
<li>shortcut debcve points to <i>https://security-tracker.debian.org/tracker/%S</i>
|
|
||||||
<ul>
|
|
||||||
<li>also supports Debian bug numbers, packages and whatever the <a href="https://security-tracker.debian.org/tracker/">security tracker</a> supports.</li>
|
|
||||||
</ul></li>
|
|
||||||
<li>shortcut fdobug points to <i>https://bugs.freedesktop.org/show_bug.cgi?id=%s</i></li>
|
|
||||||
<li>shortcut fdolist points to <i>http://lists.freedesktop.org/mailman/listinfo/%s</i></li>
|
|
||||||
<li>shortcut gnomebug points to <i>https://bugzilla.gnome.org/show_bug.cgi?id=%s</i></li>
|
|
||||||
<li>shortcut linuxbug points to <i>https://bugzilla.kernel.org/show_bug.cgi?id=%s</i></li>
|
|
||||||
<li>shortcut mozbug points to <i>https://bugzilla.mozilla.org/show_bug.cgi?id=%s</i></li>
|
|
||||||
<li>shortcut gnulist points to <i>https://lists.gnu.org/mailman/listinfo/%s</i></li>
|
|
||||||
<li>shortcut marcmsg points to <i>http://marc.info/?i=%s</i></li>
|
|
||||||
<li>shortcut marclist points to <i>http://marc.info/?l=%s</i></li>
|
|
||||||
<li>shortcut gmane points to <i>http://dir.gmane.org/gmane.%s</i></li>
|
|
||||||
<li>shortcut gmanemsg points to <i>http://mid.gmane.org/%s</i></li>
|
|
||||||
<li>shortcut cpan points to <i>http://search.cpan.org/search?mode=dist&query=%s</i></li>
|
|
||||||
<li>shortcut ctan points to <i>http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=%s</i></li>
|
|
||||||
<li>shortcut hoogle points to <i>http://haskell.org/hoogle/?q=%s</i></li>
|
|
||||||
<li>shortcut iki points to <i>http://ikiwiki.info/%S/</i></li>
|
|
||||||
<li>shortcut ljuser points to <i>http://%s.livejournal.com/</i></li>
|
|
||||||
<li>shortcut rfc points to <i>https://www.ietf.org/rfc/rfc%s.txt</i></li>
|
|
||||||
<li>shortcut c2 points to <i>http://wiki.c2.com/?%s</i></li>
|
|
||||||
<li>shortcut meatballwiki points to <i>http://www.usemod.com/cgi-bin/mb.pl?%s</i></li>
|
|
||||||
<li>shortcut emacswiki points to <i>http://www.emacswiki.org/cgi-bin/wiki/%s</i></li>
|
|
||||||
<li>shortcut haskellwiki points to <i>http://haskell.org/haskellwiki/%s</i></li>
|
|
||||||
<li>shortcut dict points to <i>http://www.dict.org/bin/Dict?Form=Dict1&Strategy=<em>&Database=</em>&Query=%s</i></li>
|
|
||||||
<li>shortcut imdb points to <i>http://imdb.com/find?q=%s</i></li>
|
|
||||||
<li>shortcut gpg points to <i>http://pgpkeys.mit.edu:11371/pks/lookup?op=vindex&exact=on&search=0x%s</i></li>
|
|
||||||
<li>shortcut perldoc points to <i>http://perldoc.perl.org/search.html?q=%s</i></li>
|
|
||||||
<li>shortcut whois points to <i>http://reports.internic.net/cgi/whois?whois_nic=%s&type=domain</i></li>
|
|
||||||
<li>shortcut cve points to <i>https://cve.mitre.org/cgi-bin/cvename.cgi?name=%s</i></li>
|
|
||||||
<li>shortcut flickr points to <i>https://secure.flickr.com/photos/%s</i></li>
|
|
||||||
<li>shortcut man points to <i>http://manpages.debian.org/%s</i></li>
|
|
||||||
<li>shortcut ohloh points to <i>https://www.ohloh.net/p/%s</i></li>
|
|
||||||
<li>shortcut cpanrt points to <i>https://rt.cpan.org/Ticket/Display.html?id=%s</i></li>
|
|
||||||
<li>shortcut novellbug points to <i>https://bugzilla.novell.com/show_bug.cgi?id=%s</i></li>
|
|
||||||
<li>shortcut ubupkg points to <i>http://packages.ubuntu.com/%s</i></li>
|
|
||||||
<li>shortcut mozillazinekb points to <i>http://kb.mozillazine.org/%s</i></li>
|
|
||||||
<li>shortcut freebsdwiki points to <i>http://wiki.freebsd.org/%s</i></li>
|
|
||||||
<li>shortcut hackage points to <i>http://hackage.haskell.org/package/%s</i></li>
|
|
||||||
<li>shortcut pkgsrc points to <i>http://pkgsrc.se/%S</i></li>
|
|
||||||
<li>shortcut doi points to <i>http://dx.doi.org/%s</i></li>
|
|
||||||
<li>shortcut arxiv points to <i>http://arxiv.org/abs/%s</i></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p>To add a new shortcut, use the <code>shortcut</code>
|
|
||||||
<a href="../ikiwiki/directive/">directive</a>. In the url, "%s" is replaced with the
|
|
||||||
text passed to the named shortcut, after <a href="https://en.wikipedia.org/wiki/url%5Fencoding">url encoding</a>
|
|
||||||
it, and '%S' is replaced with the raw, non-encoded text.
|
|
||||||
Additionally, <code>%W</code> is replaced with the text encoded just right for
|
|
||||||
Wikipedia. The optional <code>desc</code> parameter controls the description of
|
|
||||||
the link.</p>
|
|
||||||
|
|
||||||
<p>Remember that the <code>name</code> you give the shortcut will become a new
|
|
||||||
<a href="../ikiwiki/directive/">directive</a>. Avoid using a <code>name</code> that conflicts
|
|
||||||
with an existing directive. These directives also accept a <code>desc</code>
|
|
||||||
parameter that will override the one provided at definition time.</p>
|
|
||||||
|
|
||||||
<p>If you come up with a shortcut that you think others might find useful,
|
|
||||||
consider contributing it to the <a href="http://ikiwiki.info/shortcuts/">shortcuts page on the ikiwiki
|
|
||||||
wiki</a>, so that future versions of
|
|
||||||
ikiwiki will include your shortcut in the standard underlay.</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="footer mt-auto py-2 bg-primary bg-opacity-25" role="contentinfo">
|
|
||||||
<div class="container-lg h-100">
|
|
||||||
<div class="text-center">
|
|
||||||
<h2>Liens intéressants</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href=https://www.facebook.com/GRIPUQAM" target="_blank">Page Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://www.facebook.com/groups/gripuqam" target="_blank">Groupe Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://assoarmu.wordpress.com/a-propos/" target="_blank">Association pour la Réappropriation des Milieux Urbains</a></li>
|
|
||||||
<li><a href="https://bibliothequedira.wordpress.com/" target="_blank">Bibliothèque DIRA</a></li>
|
|
||||||
<li><a href="https://www.resistancemontreal.org/calendrier" target="_blank">Calendrier Résistance Montréal</a></li>
|
|
||||||
<li><a href="https://www.clac-montreal.net/" target="_blank">Convergence des luttes anticapitalistes Montréal</a></li>
|
|
||||||
<li><a href="https://www.qpirgconcordia.org/" target="_blank">QPIRG Concordia GRIP</a></li>
|
|
||||||
<li><a href="https://qpirgmcgill.org/" target="_blank">QPIRG | GRIP McGill</a></li>
|
|
||||||
<li><a href="https://rqge.qc.ca/" target="_blank">Réseau Québecois des Groupes Écologistes</a></li>
|
|
||||||
<li><a href="https://www.pourlatransitionenergetique.org/" target="_blank">Front commun pour la transition énergétique</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
4
sidebar.html
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
|
||||||
|
<ul class="navbar-nav nav-link align-items-center ms-auto">
|
||||||
|
<li>[[Accueil|index]]</li>
|
||||||
|
</ul>
|
|
@ -1,121 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
|
|
||||||
<meta name='robots' content='max-image-preview:large' />
|
|
||||||
|
|
||||||
<!-- Facebook Meta Tags -->
|
|
||||||
<meta property="og:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta property="og:type" content="website">
|
|
||||||
<meta property="og:title" content="sidebar">
|
|
||||||
<meta property="og:description" content="GRIP-UQAM">
|
|
||||||
<meta property="og:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<!-- Twitter Meta Tags -->
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
|
||||||
<meta property="twitter:domain" content="cdpq-palestine.info">
|
|
||||||
<meta property="twitter:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta name="twitter:title" content="sidebar">
|
|
||||||
<meta name="twitter:description" content="GRIP-UQAM">
|
|
||||||
<meta name="twitter:image" content="/og-image.png">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>sidebar - GRIP-UQAM</title>
|
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="../favicon-96x96.png" sizes="96x96" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="../favicon.svg" />
|
|
||||||
<link rel="shortcut icon" href="../favicon.ico" />
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="../apple-touch-icon.png" />
|
|
||||||
<meta name="apple-mobile-web-app-title" content="GRIP-UQAM" />
|
|
||||||
<link rel="manifest" href="../site.webmanifest" />
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<!-- those checksums can be verified with: shasum -b -a 384 $file | xxd -r -p |
|
|
||||||
base64 -->
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
||||||
|
|
||||||
<!-- Custom styles for derivatives -->
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../css/local.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- opendyslexic font -->
|
|
||||||
<link href="../css/opendyslexic.css" rel="stylesheet" />
|
|
||||||
</head>
|
|
||||||
<body class="d-flex flex-column h-100">
|
|
||||||
<header>
|
|
||||||
<nav class="navbar navbar-expand-md navbar-light bg-danger text-white border" data-bs-theme="dark">
|
|
||||||
<div class="container-lg">
|
|
||||||
<a class="navbar-brand me-auto" href="../">
|
|
||||||
<img alt="GRIP-UQAM" src="../favicon-96x96.png" width="96" height="96" />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse">
|
|
||||||
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
|
|
||||||
<ul class="navbar-nav nav-link align-items-center ms-auto">
|
|
||||||
<li><a href="../">Accueil</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="flex-shrink-0 bg-secondary">
|
|
||||||
<div id="content">
|
|
||||||
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
|
|
||||||
<ul class="navbar-nav nav-link align-items-center ms-auto">
|
|
||||||
<li><a href="../">Accueil</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="footer mt-auto py-2 bg-primary bg-opacity-25" role="contentinfo">
|
|
||||||
<div class="container-lg h-100">
|
|
||||||
<div class="text-center">
|
|
||||||
<h2>Liens intéressants</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href=https://www.facebook.com/GRIPUQAM" target="_blank">Page Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://www.facebook.com/groups/gripuqam" target="_blank">Groupe Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://assoarmu.wordpress.com/a-propos/" target="_blank">Association pour la Réappropriation des Milieux Urbains</a></li>
|
|
||||||
<li><a href="https://bibliothequedira.wordpress.com/" target="_blank">Bibliothèque DIRA</a></li>
|
|
||||||
<li><a href="https://www.resistancemontreal.org/calendrier" target="_blank">Calendrier Résistance Montréal</a></li>
|
|
||||||
<li><a href="https://www.clac-montreal.net/" target="_blank">Convergence des luttes anticapitalistes Montréal</a></li>
|
|
||||||
<li><a href="https://www.qpirgconcordia.org/" target="_blank">QPIRG Concordia GRIP</a></li>
|
|
||||||
<li><a href="https://qpirgmcgill.org/" target="_blank">QPIRG | GRIP McGill</a></li>
|
|
||||||
<li><a href="https://rqge.qc.ca/" target="_blank">Réseau Québecois des Groupes Écologistes</a></li>
|
|
||||||
<li><a href="https://www.pourlatransitionenergetique.org/" target="_blank">Front commun pour la transition énergétique</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
Before Width: | Height: | Size: 220 B |
Before Width: | Height: | Size: 295 B |
Before Width: | Height: | Size: 164 B |
Before Width: | Height: | Size: 173 B |
Before Width: | Height: | Size: 133 B |
Before Width: | Height: | Size: 354 B |
Before Width: | Height: | Size: 168 B |
Before Width: | Height: | Size: 397 B |
Before Width: | Height: | Size: 171 B |
BIN
smileys/idea.png
Before Width: | Height: | Size: 372 B |
|
@ -1,175 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
|
|
||||||
<meta name='robots' content='max-image-preview:large' />
|
|
||||||
|
|
||||||
<!-- Facebook Meta Tags -->
|
|
||||||
<meta property="og:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta property="og:type" content="website">
|
|
||||||
<meta property="og:title" content="smileys">
|
|
||||||
<meta property="og:description" content="GRIP-UQAM">
|
|
||||||
<meta property="og:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<!-- Twitter Meta Tags -->
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
|
||||||
<meta property="twitter:domain" content="cdpq-palestine.info">
|
|
||||||
<meta property="twitter:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta name="twitter:title" content="smileys">
|
|
||||||
<meta name="twitter:description" content="GRIP-UQAM">
|
|
||||||
<meta name="twitter:image" content="/og-image.png">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>smileys - GRIP-UQAM</title>
|
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="../favicon-96x96.png" sizes="96x96" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="../favicon.svg" />
|
|
||||||
<link rel="shortcut icon" href="../favicon.ico" />
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="../apple-touch-icon.png" />
|
|
||||||
<meta name="apple-mobile-web-app-title" content="GRIP-UQAM" />
|
|
||||||
<link rel="manifest" href="../site.webmanifest" />
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<!-- those checksums can be verified with: shasum -b -a 384 $file | xxd -r -p |
|
|
||||||
base64 -->
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
||||||
|
|
||||||
<!-- Custom styles for derivatives -->
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../css/local.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- opendyslexic font -->
|
|
||||||
<link href="../css/opendyslexic.css" rel="stylesheet" />
|
|
||||||
</head>
|
|
||||||
<body class="d-flex flex-column h-100">
|
|
||||||
<header>
|
|
||||||
<nav class="navbar navbar-expand-md navbar-light bg-danger text-white border" data-bs-theme="dark">
|
|
||||||
<div class="container-lg">
|
|
||||||
<a class="navbar-brand me-auto" href="../">
|
|
||||||
<img alt="GRIP-UQAM" src="../favicon-96x96.png" width="96" height="96" />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse">
|
|
||||||
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
|
|
||||||
<ul class="navbar-nav nav-link align-items-center ms-auto">
|
|
||||||
<li><a href="../">Accueil</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="flex-shrink-0 bg-secondary">
|
|
||||||
<div id="content">
|
|
||||||
<p>This page is used to control what smileys are supported by the wiki.
|
|
||||||
Just write the text of a smiley to display it.</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>:) <img src="./smile.png" alt="smile.png" /></li>
|
|
||||||
<li>:-) <img src="./smile.png" alt="smile.png" /></li>
|
|
||||||
<li>:D <img src="./biggrin.png" alt="biggrin.png" /></li>
|
|
||||||
<li>:-D <img src="./biggrin.png" alt="biggrin.png" /></li>
|
|
||||||
<li>B) <img src="./smile2.png" alt="smile2.png" /></li>
|
|
||||||
<li>B-) <img src="./smile2.png" alt="smile2.png" /></li>
|
|
||||||
<li>:)) <img src="./smile3.png" alt="smile3.png" /></li>
|
|
||||||
<li>:-)) <img src="./smile3.png" alt="smile3.png" /></li>
|
|
||||||
<li>;) <img src="./smile4.png" alt="smile4.png" /></li>
|
|
||||||
<li>;-) <img src="./smile4.png" alt="smile4.png" /></li>
|
|
||||||
<li>:\ <img src="./ohwell.png" alt="ohwell.png" /></li>
|
|
||||||
<li>:-\ <img src="./ohwell.png" alt="ohwell.png" /></li>
|
|
||||||
<li>:/ <img src="./ohwell.png" alt="ohwell.png" /></li>
|
|
||||||
<li>:-/ <img src="./ohwell.png" alt="ohwell.png" /></li>
|
|
||||||
<li>:| <img src="./neutral.png" alt="neutral.png" /></li>
|
|
||||||
<li>:-| <img src="./neutral.png" alt="neutral.png" /></li>
|
|
||||||
<li>>:> <img src="./devil.png" alt="devil.png" /></li>
|
|
||||||
<li>X-( <img src="./angry.png" alt="angry.png" /></li>
|
|
||||||
<li><:( <img src="./frown.png" alt="frown.png" /></li>
|
|
||||||
<li>:( <img src="./sad.png" alt="sad.png" /></li>
|
|
||||||
<li>:-( <img src="./sad.png" alt="sad.png" /></li>
|
|
||||||
<li>:-? <img src="./tongue.png" alt="tongue.png" /></li>
|
|
||||||
<li>:-P <img src="./tongue.png" alt="tongue.png" /></li>
|
|
||||||
<li>:o <img src="./redface.png" alt="redface.png" /></li>
|
|
||||||
<li>|) <img src="./tired.png" alt="tired.png" /></li>
|
|
||||||
<li>|-) <img src="./tired.png" alt="tired.png" /></li>
|
|
||||||
<li>{OK} <img src="./thumbs-up.png" alt="thumbs-up.png" /></li>
|
|
||||||
<li>{X} <img src="./icon-error.png" alt="icon-error.png" /></li>
|
|
||||||
<li>{i} <img src="./icon-info.png" alt="icon-info.png" /></li>
|
|
||||||
<li>(./) <img src="./checkmark.png" alt="checkmark.png" /></li>
|
|
||||||
<li>(!) <img src="./idea.png" alt="idea.png" /></li>
|
|
||||||
<li>[!] <img src="./attention.png" alt="attention.png" /></li>
|
|
||||||
<li>/!\ <img src="./alert.png" alt="alert.png" /></li>
|
|
||||||
<li>(?) <img src="./question.png" alt="question.png" /></li>
|
|
||||||
<li>{x} <img src="./star_on.png" alt="star on.png" /></li>
|
|
||||||
<li>{*} <img src="./star_on.png" alt="star on.png" /></li>
|
|
||||||
<li>{o} <img src="./star_off.png" alt="star off.png" /></li>
|
|
||||||
<li>{1} <img src="./prio1.png" alt="prio1.png" /></li>
|
|
||||||
<li>{2} <img src="./prio2.png" alt="prio2.png" /></li>
|
|
||||||
<li>{3} <img src="./prio3.png" alt="prio3.png" /></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p>For example: <img src="./star_on.png" alt="{x}" /> <img src="./smile2.png" alt="B)" /> <img src="./star_on.png" alt="{x}" /></p>
|
|
||||||
|
|
||||||
<hr />
|
|
||||||
|
|
||||||
<p>To change the supported smileys, just edit the lists on this page.
|
|
||||||
Note that the format is important; each list item should start with the
|
|
||||||
text that is turned into the smiley, escaped so that users can see what
|
|
||||||
produces it, followed by a <a href="../ikiwiki/wikilink/">WikiLink</a> to the image to display.</p>
|
|
||||||
|
|
||||||
<p><img src="./alert.png" alt="/!\" /> Bear in mind that the link to the image needs to be written in a way that
|
|
||||||
will work if it's copied to other pages on the wiki. So be sure to include the
|
|
||||||
smileys directory in the path to the file.</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="footer mt-auto py-2 bg-primary bg-opacity-25" role="contentinfo">
|
|
||||||
<div class="container-lg h-100">
|
|
||||||
<div class="text-center">
|
|
||||||
<h2>Liens intéressants</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href=https://www.facebook.com/GRIPUQAM" target="_blank">Page Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://www.facebook.com/groups/gripuqam" target="_blank">Groupe Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://assoarmu.wordpress.com/a-propos/" target="_blank">Association pour la Réappropriation des Milieux Urbains</a></li>
|
|
||||||
<li><a href="https://bibliothequedira.wordpress.com/" target="_blank">Bibliothèque DIRA</a></li>
|
|
||||||
<li><a href="https://www.resistancemontreal.org/calendrier" target="_blank">Calendrier Résistance Montréal</a></li>
|
|
||||||
<li><a href="https://www.clac-montreal.net/" target="_blank">Convergence des luttes anticapitalistes Montréal</a></li>
|
|
||||||
<li><a href="https://www.qpirgconcordia.org/" target="_blank">QPIRG Concordia GRIP</a></li>
|
|
||||||
<li><a href="https://qpirgmcgill.org/" target="_blank">QPIRG | GRIP McGill</a></li>
|
|
||||||
<li><a href="https://rqge.qc.ca/" target="_blank">Réseau Québecois des Groupes Écologistes</a></li>
|
|
||||||
<li><a href="https://www.pourlatransitionenergetique.org/" target="_blank">Front commun pour la transition énergétique</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
Before Width: | Height: | Size: 239 B |
Before Width: | Height: | Size: 167 B |
Before Width: | Height: | Size: 153 B |
Before Width: | Height: | Size: 158 B |
Before Width: | Height: | Size: 153 B |
Before Width: | Height: | Size: 302 B |
Before Width: | Height: | Size: 306 B |
BIN
smileys/sad.png
Before Width: | Height: | Size: 182 B |
Before Width: | Height: | Size: 356 B |
Before Width: | Height: | Size: 334 B |
Before Width: | Height: | Size: 326 B |
Before Width: | Height: | Size: 275 B |
Before Width: | Height: | Size: 297 B |
Before Width: | Height: | Size: 370 B |
Before Width: | Height: | Size: 118 B |
Before Width: | Height: | Size: 157 B |
Before Width: | Height: | Size: 176 B |
596
style.css
|
@ -1,596 +0,0 @@
|
||||||
/* ikiwiki style sheet */
|
|
||||||
|
|
||||||
/* Note that instead of modifying this style sheet, you can instead edit
|
|
||||||
* local.css and use it to override or change settings in this one.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* html5 compat */
|
|
||||||
article,aside,details,figcaption,figure,
|
|
||||||
footer,header,hgroup,menu,nav,section {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.header, header.header {
|
|
||||||
margin: 0;
|
|
||||||
font-size: 140%;
|
|
||||||
font-weight: bold;
|
|
||||||
line-height: 1em;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.inlineheader .author {
|
|
||||||
margin: 0;
|
|
||||||
font-size: 112%;
|
|
||||||
font-weight: bold;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.actions ul {
|
|
||||||
margin: 0;
|
|
||||||
padding: 6px .4em;
|
|
||||||
height: 1em;
|
|
||||||
list-style-type: none;
|
|
||||||
}
|
|
||||||
.actions li {
|
|
||||||
display: inline;
|
|
||||||
padding: .2em;
|
|
||||||
}
|
|
||||||
.pageheader .actions ul {
|
|
||||||
border-bottom: 1px solid #000;
|
|
||||||
}
|
|
||||||
|
|
||||||
.inlinepage .actions ul {
|
|
||||||
border-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#otherlanguages ul {
|
|
||||||
margin: 0;
|
|
||||||
padding: 6px;
|
|
||||||
list-style-type: none;
|
|
||||||
}
|
|
||||||
#otherlanguages li {
|
|
||||||
display: inline;
|
|
||||||
padding: .2em .4em;
|
|
||||||
}
|
|
||||||
.pageheader #otherlanguages {
|
|
||||||
border-bottom: 1px solid #000;
|
|
||||||
}
|
|
||||||
|
|
||||||
.inlinecontent,
|
|
||||||
.inlineenclosure {
|
|
||||||
margin-top: .4em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.pagefooter,
|
|
||||||
.inlinefooter,
|
|
||||||
.comments {
|
|
||||||
clear: both;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pageinfo {
|
|
||||||
margin: 1em 0;
|
|
||||||
border-top: 1px solid #000;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tags {
|
|
||||||
margin-top: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.inlinepage .tags {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mapparent {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.img caption {
|
|
||||||
font-size: 80%;
|
|
||||||
caption-side: bottom;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
img.img {
|
|
||||||
margin: 0.5ex;
|
|
||||||
}
|
|
||||||
|
|
||||||
.align-left {
|
|
||||||
float:left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.align-right {
|
|
||||||
float:right;
|
|
||||||
}
|
|
||||||
|
|
||||||
#backlinks {
|
|
||||||
margin-top: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#searchform {
|
|
||||||
display: inline;
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
#editcontent {
|
|
||||||
width: 98%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.editcontentdiv {
|
|
||||||
width: auto;
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
border-style: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre {
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.recentchanges {
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 1px;
|
|
||||||
overflow: auto;
|
|
||||||
width: auto;
|
|
||||||
clear: none;
|
|
||||||
background: #eee;
|
|
||||||
color: black !important;
|
|
||||||
}
|
|
||||||
.recentchanges .metadata {
|
|
||||||
padding: 0px 0.5em;
|
|
||||||
}
|
|
||||||
.recentchanges .changelog {
|
|
||||||
font-style: italic;
|
|
||||||
clear: both;
|
|
||||||
display: block;
|
|
||||||
padding: 1px 2px;
|
|
||||||
background: white !important;
|
|
||||||
color: black !important;
|
|
||||||
}
|
|
||||||
.recentchanges .desc {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.recentchanges .diff {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.recentchanges .committer {
|
|
||||||
float: left;
|
|
||||||
margin: 0;
|
|
||||||
width: 40%;
|
|
||||||
}
|
|
||||||
.recentchanges .committype {
|
|
||||||
float: left;
|
|
||||||
margin: 0;
|
|
||||||
width: 5%;
|
|
||||||
font-size: small;
|
|
||||||
}
|
|
||||||
.recentchanges .changedate {
|
|
||||||
float: left;
|
|
||||||
margin: 0;
|
|
||||||
width: 35%;
|
|
||||||
font-size: small;
|
|
||||||
}
|
|
||||||
.recentchanges .pagelinks,
|
|
||||||
.recentchanges .revert {
|
|
||||||
float: right;
|
|
||||||
margin: 0;
|
|
||||||
width: 60%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.blogform, #blogform {
|
|
||||||
padding: 10px 10px;
|
|
||||||
border: 1px solid #aaa;
|
|
||||||
background: #eee;
|
|
||||||
color: black !important;
|
|
||||||
width: auto;
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.inlinepage {
|
|
||||||
padding: 10px 10px;
|
|
||||||
border: 1px solid #aaa;
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.pagedate,
|
|
||||||
.pagelicense,
|
|
||||||
.pagecopyright {
|
|
||||||
font-style: italic;
|
|
||||||
display: block;
|
|
||||||
margin-top: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.archivepagedate {
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
.archivepage {
|
|
||||||
margin-bottom: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.error {
|
|
||||||
color: #C00;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sidebar {
|
|
||||||
width: 20ex;
|
|
||||||
float: right;
|
|
||||||
margin-left: 4px;
|
|
||||||
margin-bottom: 4px;
|
|
||||||
margin-top: -1px;
|
|
||||||
padding: 0ex 2ex;
|
|
||||||
background: white;
|
|
||||||
border: 1px solid black;
|
|
||||||
color: black !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
hr.poll {
|
|
||||||
height: 10pt;
|
|
||||||
color: white !important;
|
|
||||||
background: #eee;
|
|
||||||
border: 2px solid black;
|
|
||||||
}
|
|
||||||
div.poll {
|
|
||||||
margin-top: 1ex;
|
|
||||||
margin-bottom: 1ex;
|
|
||||||
padding: 1ex 1ex;
|
|
||||||
border: 1px solid #aaa;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.color {
|
|
||||||
padding: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-header,
|
|
||||||
.microblog-header {
|
|
||||||
font-style: italic;
|
|
||||||
margin-top: .3em;
|
|
||||||
}
|
|
||||||
.comment .author,
|
|
||||||
.microblog .author {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
.comment-subject {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
.comment-avatar {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
.comment {
|
|
||||||
border: 1px solid #aaa;
|
|
||||||
padding: 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.progress {
|
|
||||||
margin-top: 1ex;
|
|
||||||
margin-bottom: 1ex;
|
|
||||||
border: 1px solid #888;
|
|
||||||
width: 400px;
|
|
||||||
background: #eee;
|
|
||||||
color: black !important;
|
|
||||||
padding: 1px;
|
|
||||||
}
|
|
||||||
div.progress-done {
|
|
||||||
background: #ea6 !important;
|
|
||||||
color: black !important;
|
|
||||||
text-align: center;
|
|
||||||
padding: 1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* things to hide in printouts */
|
|
||||||
@media print {
|
|
||||||
.actions { display: none; }
|
|
||||||
.tags { display: none; }
|
|
||||||
.trails { display: none; }
|
|
||||||
.feedbutton { display: none; }
|
|
||||||
#searchform { display: none; }
|
|
||||||
.blogform, #blogform { display: none; }
|
|
||||||
#backlinks { display: none; }
|
|
||||||
.addcomment { display: none; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/* infobox template */
|
|
||||||
.infobox {
|
|
||||||
float: right;
|
|
||||||
margin-left: 2ex;
|
|
||||||
margin-top: 1ex;
|
|
||||||
margin-bottom: 1ex;
|
|
||||||
padding: 1ex 1ex;
|
|
||||||
border: 1px solid #aaa;
|
|
||||||
background: white;
|
|
||||||
color: black !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* notebox template */
|
|
||||||
.notebox {
|
|
||||||
float: right;
|
|
||||||
margin-left: 2ex;
|
|
||||||
margin-top: 1ex;
|
|
||||||
margin-bottom: 1ex;
|
|
||||||
padding: 1ex 1ex;
|
|
||||||
border: 1px solid #aaa;
|
|
||||||
width: 25%;
|
|
||||||
background: white;
|
|
||||||
color: black !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* popup template and backlinks hiding */
|
|
||||||
.popup {
|
|
||||||
border-bottom: 1px dotted #366;
|
|
||||||
color: #366;
|
|
||||||
}
|
|
||||||
.popup .balloon,
|
|
||||||
.popup .paren,
|
|
||||||
.popup .expand {
|
|
||||||
display: none;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
.popup:hover .balloon,
|
|
||||||
.popup:focus .balloon {
|
|
||||||
position: absolute;
|
|
||||||
display: inline;
|
|
||||||
margin: 1em 0 0 -2em;
|
|
||||||
padding: 0.625em;
|
|
||||||
border: 2px solid;
|
|
||||||
background-color: #dee;
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* form styling */
|
|
||||||
fieldset {
|
|
||||||
margin: 1ex 0;
|
|
||||||
border: 1px solid black;
|
|
||||||
}
|
|
||||||
legend {
|
|
||||||
padding: 0 1ex;
|
|
||||||
}
|
|
||||||
.fb_submit {
|
|
||||||
float: left;
|
|
||||||
margin: 2px 0;
|
|
||||||
}
|
|
||||||
label.block {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
label.inline {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
input#openid_identifier {
|
|
||||||
background: url(wikiicons/openidlogin-bg.gif) no-repeat;
|
|
||||||
background-color: #fff;
|
|
||||||
background-position: 0 50%;
|
|
||||||
color: #000;
|
|
||||||
padding-left: 18px;
|
|
||||||
}
|
|
||||||
input#searchbox {
|
|
||||||
background: url(wikiicons/search-bg.gif) no-repeat;
|
|
||||||
background-color: #fff;
|
|
||||||
background-position: 100% 50%;
|
|
||||||
color: #000;
|
|
||||||
padding-right: 16px;
|
|
||||||
}
|
|
||||||
/* invalid form fields */
|
|
||||||
.fb_invalid {
|
|
||||||
color: red;
|
|
||||||
background: white !important;
|
|
||||||
}
|
|
||||||
/* required form fields */
|
|
||||||
.fb_required {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* highlight plugin */
|
|
||||||
pre.hl { color:#000000; background-color:#ffffff; }
|
|
||||||
.hl.num { color:#2928ff; }
|
|
||||||
.hl.esc { color:#ff00ff; }
|
|
||||||
.hl.str { color:#ff0000; }
|
|
||||||
.hl.dstr { color:#818100; }
|
|
||||||
.hl.slc { color:#838183; font-style:italic; }
|
|
||||||
.hl.com { color:#838183; font-style:italic; }
|
|
||||||
.hl.dir { color:#008200; }
|
|
||||||
.hl.sym { color:#000000; }
|
|
||||||
.hl.line { color:#555555; }
|
|
||||||
.hl.mark { background-color:#ffffbb; }
|
|
||||||
.hl.kwa { color:#000000; font-weight:bold; }
|
|
||||||
.hl.kwb { color:#830000; }
|
|
||||||
.hl.kwc { color:#000000; font-weight:bold; }
|
|
||||||
.hl.kwd { color:#010181; }
|
|
||||||
|
|
||||||
/* calendar plugin */
|
|
||||||
.month-calendar-day-this-day,
|
|
||||||
.year-calendar-this-month {
|
|
||||||
background-color: #eee;
|
|
||||||
}
|
|
||||||
.month-calendar-day-head,
|
|
||||||
.month-calendar-day-nolink,
|
|
||||||
.month-calendar-day-link,
|
|
||||||
.month-calendar-day-this-day,
|
|
||||||
.month-calendar-day-future {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
.month-calendar-arrow A:link,
|
|
||||||
.year-calendar-arrow A:link,
|
|
||||||
.month-calendar-arrow A:visited,
|
|
||||||
.year-calendar-arrow A:visited {
|
|
||||||
text-decoration: none;
|
|
||||||
font-weight: normal;
|
|
||||||
font-size: 150%;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* outlines */
|
|
||||||
li.L1 { list-style: upper-roman; }
|
|
||||||
li.L2 { list-style: decimal; }
|
|
||||||
li.L3 { list-style: lower-alpha; }
|
|
||||||
li.L4 { list-style: disc; }
|
|
||||||
li.L5 { list-style: square; }
|
|
||||||
li.L6 { list-style: circle; }
|
|
||||||
li.L7 { list-style: lower-roman; }
|
|
||||||
li.L8 { list-style: upper-alpha; }
|
|
||||||
|
|
||||||
/* tag cloud */
|
|
||||||
.pagecloud {
|
|
||||||
float: right;
|
|
||||||
width: 30%;
|
|
||||||
text-align: center;
|
|
||||||
padding: 10px 10px;
|
|
||||||
border: 1px solid #aaa;
|
|
||||||
background: #eee;
|
|
||||||
color: black !important;
|
|
||||||
}
|
|
||||||
.smallestPC { font-size: 70%; }
|
|
||||||
.smallPC { font-size: 85%; }
|
|
||||||
.normalPC { font-size: 100%; }
|
|
||||||
.bigPC { font-size: 115%; }
|
|
||||||
.biggestPC { font-size: 130%; }
|
|
||||||
|
|
||||||
/* orange feed button */
|
|
||||||
.feedbutton {
|
|
||||||
background: #ff6600;
|
|
||||||
color: white !important;
|
|
||||||
border-left: 1px solid #cc9966;
|
|
||||||
border-top: 1px solid #ccaa99;
|
|
||||||
border-right: 1px solid #993300;
|
|
||||||
border-bottom: 1px solid #331100;
|
|
||||||
padding: 0px 0.5em 0px 0.5em;
|
|
||||||
font-family: sans-serif;
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: small;
|
|
||||||
text-decoration: none;
|
|
||||||
margin-top: 1em;
|
|
||||||
}
|
|
||||||
.feedbutton:hover {
|
|
||||||
color: white !important;
|
|
||||||
background: #ff9900;
|
|
||||||
}
|
|
||||||
|
|
||||||
.FlattrButton {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* login selector */
|
|
||||||
#login_choice {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
#login_input_area {
|
|
||||||
clear: both;
|
|
||||||
padding: 10px;
|
|
||||||
}
|
|
||||||
#login_btns, #login_btns br {
|
|
||||||
clear: both;
|
|
||||||
}
|
|
||||||
#login_highlight {
|
|
||||||
background-color: black;
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
.login_large_btn {
|
|
||||||
padding: 1em 1.5em;
|
|
||||||
border: 1px solid #DDD;
|
|
||||||
margin: 3px;
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
.login_small_btn {
|
|
||||||
padding: 4px 4px;
|
|
||||||
border: 1px solid #DDD;
|
|
||||||
margin: 3px;
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
a.login_large_btn:focus {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
a.login_large_btn:focus {
|
|
||||||
outline-style: none;
|
|
||||||
}
|
|
||||||
.login_selected {
|
|
||||||
border: 4px solid #DDD;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fileupload-content .ui-progressbar {
|
|
||||||
width: 200px;
|
|
||||||
height: 20px;
|
|
||||||
}
|
|
||||||
.fileupload-content .ui-progressbar-value {
|
|
||||||
background: url(ikiwiki/images/pbar-ani.gif);
|
|
||||||
}
|
|
||||||
|
|
||||||
.trails {
|
|
||||||
margin-top: 1em;
|
|
||||||
margin-bottom: 1em;
|
|
||||||
}
|
|
||||||
.trail {
|
|
||||||
display: block;
|
|
||||||
clear: both;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.trailprev {
|
|
||||||
display: block;
|
|
||||||
text-align: left;
|
|
||||||
position: absolute;
|
|
||||||
top: 0%;
|
|
||||||
left: 3%;
|
|
||||||
width: 30%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.trailup {
|
|
||||||
display: block;
|
|
||||||
text-align: center;
|
|
||||||
margin-left: 35%;
|
|
||||||
margin-right: 35%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.trailnext {
|
|
||||||
display: block;
|
|
||||||
text-align: right;
|
|
||||||
position: absolute;
|
|
||||||
top: 0%;
|
|
||||||
width: 30%;
|
|
||||||
right: 3%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.trailsep {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* mobile/small-screen-friendly layout */
|
|
||||||
@media (max-width: 600px) {
|
|
||||||
.sidebar {
|
|
||||||
width: auto;
|
|
||||||
float: none;
|
|
||||||
margin-top: 0;
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* if the mobile browser is new enough, use flex layout to shuffle
|
|
||||||
* the sidebar to the end */
|
|
||||||
.page {
|
|
||||||
display: -webkit-box;
|
|
||||||
display: -webkit-flexbox;
|
|
||||||
display: -webkit-flex;
|
|
||||||
display: -moz-box;
|
|
||||||
display: -ms-flexbox;
|
|
||||||
display: flex;
|
|
||||||
-webkit-box-orient: vertical;
|
|
||||||
-webkit-flex-direction: tb;
|
|
||||||
-webkit-flex-direction: column;
|
|
||||||
-webkit-flex-flow: column;
|
|
||||||
-ms-flex-direction: column;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
#pageheader {
|
|
||||||
-webkit-box-ordinal-group: -1;
|
|
||||||
-webkit-order: -1;
|
|
||||||
-ms-box-ordinal-group: -1;
|
|
||||||
-ms-flex-order: -1;
|
|
||||||
order: -1;
|
|
||||||
}
|
|
||||||
.sidebar, #footer {
|
|
||||||
-webkit-box-ordinal-group: 1;
|
|
||||||
-webkit-order: 1;
|
|
||||||
-ms-box-ordinal-group: 1;
|
|
||||||
-ms-flex-order: 1;
|
|
||||||
order: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.blogform, #blogform {
|
|
||||||
padding: 4px 4px;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,210 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
|
|
||||||
<meta name='robots' content='max-image-preview:large' />
|
|
||||||
|
|
||||||
<!-- Facebook Meta Tags -->
|
|
||||||
<meta property="og:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta property="og:type" content="website">
|
|
||||||
<meta property="og:title" content="templates">
|
|
||||||
<meta property="og:description" content="GRIP-UQAM">
|
|
||||||
<meta property="og:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<!-- Twitter Meta Tags -->
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
|
||||||
<meta property="twitter:domain" content="cdpq-palestine.info">
|
|
||||||
<meta property="twitter:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta name="twitter:title" content="templates">
|
|
||||||
<meta name="twitter:description" content="GRIP-UQAM">
|
|
||||||
<meta name="twitter:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<meta name="robots" content="noindex, follow" />
|
|
||||||
|
|
||||||
<title>templates - GRIP-UQAM</title>
|
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="../favicon-96x96.png" sizes="96x96" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="../favicon.svg" />
|
|
||||||
<link rel="shortcut icon" href="../favicon.ico" />
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="../apple-touch-icon.png" />
|
|
||||||
<meta name="apple-mobile-web-app-title" content="GRIP-UQAM" />
|
|
||||||
<link rel="manifest" href="../site.webmanifest" />
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<!-- those checksums can be verified with: shasum -b -a 384 $file | xxd -r -p |
|
|
||||||
base64 -->
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
||||||
|
|
||||||
<!-- Custom styles for derivatives -->
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../css/local.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- opendyslexic font -->
|
|
||||||
<link href="../css/opendyslexic.css" rel="stylesheet" />
|
|
||||||
</head>
|
|
||||||
<body class="d-flex flex-column h-100">
|
|
||||||
<header>
|
|
||||||
<nav class="navbar navbar-expand-md navbar-light bg-danger text-white border" data-bs-theme="dark">
|
|
||||||
<div class="container-lg">
|
|
||||||
<a class="navbar-brand me-auto" href="../">
|
|
||||||
<img alt="GRIP-UQAM" src="../favicon-96x96.png" width="96" height="96" />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse">
|
|
||||||
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
|
|
||||||
<ul class="navbar-nav nav-link align-items-center ms-auto">
|
|
||||||
<li><a href="../">Accueil</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="flex-shrink-0 bg-secondary">
|
|
||||||
<div id="content">
|
|
||||||
<p><a href="../ikiwiki/">Ikiwiki</a> uses many templates for many purposes. By editing its templates,
|
|
||||||
you can fully customise its appearance, and avoid duplicate content.</p>
|
|
||||||
|
|
||||||
<p>Ikiwiki uses the HTML::Template module as its template engine. This
|
|
||||||
supports things like conditionals and loops in templates and is pretty
|
|
||||||
easy to learn. All you really need to know to modify templates is this:</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>To insert the value of a template variable, use <code><TMPL_VAR variable></code>.</li>
|
|
||||||
<li>To make a block of text conditional on a variable being set use
|
|
||||||
<code><TMPL_IF variable>text</TMPL_IF></code>.</li>
|
|
||||||
<li>To use one block of text if a variable is set and a second if it's not,
|
|
||||||
use <code><TMPL_IF variable>text<TMPL_ELSE>other text</TMPL_IF></code></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h2>template pages</h2>
|
|
||||||
|
|
||||||
<p>Template pages are regular wiki pages containing a
|
|
||||||
<a href="http://ikiwiki.info/ikiwiki/directive/templatebody/">templatebody directive</a>,
|
|
||||||
used as templates for other pages. The parts of the template
|
|
||||||
page outside the directive can be used to document it.</p>
|
|
||||||
|
|
||||||
<p>The <a href="http://ikiwiki.info/ikiwiki/directive/template/">template directive</a> allows
|
|
||||||
template pages to be filled out and inserted into other pages in the wiki.</p>
|
|
||||||
|
|
||||||
<p>These template pages are currently available:</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
|
|
||||||
<a href="./note/">note</a>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
|
|
||||||
<a href="./popup/">popup</a>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
|
|
||||||
|
|
||||||
<p>If the template does not contain a <code>templatebody</code> directive, the entire
|
|
||||||
source of the page is used for the template. This is deprecated.</p>
|
|
||||||
|
|
||||||
<h2>template files</h2>
|
|
||||||
|
|
||||||
<p>Template files are unlike template pages in that they have the extension
|
|
||||||
<code>.tmpl</code>. Template files are used extensively by Ikiwiki to generate html.
|
|
||||||
They can contain html that would not normally be allowed on a wiki page.</p>
|
|
||||||
|
|
||||||
<p>Template files are located in <code>/usr/share/ikiwiki/templates</code> by default;
|
|
||||||
the <code>templatedir</code> setting can be used to make another directory be
|
|
||||||
searched first. Customised template files can also be placed inside the
|
|
||||||
"templates/" directory in your wiki's source -- files placed there override
|
|
||||||
ones in the <code>templatedir</code>.</p>
|
|
||||||
|
|
||||||
<p>Here is a full list of the template files used:</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><p><code>page.tmpl</code> - Used for displaying all regular wiki pages. This is the
|
|
||||||
key template to customise to change the look and feel of Ikiwiki.</p></li>
|
|
||||||
<li><p><code>rsspage.tmpl</code> - Used for generating rss feeds for blogs.</p></li>
|
|
||||||
<li><code>rssitem.tmpl</code> - Used for generating individual items on rss feeds.</li>
|
|
||||||
<li><code>atompage.tmpl</code> - Used for generating atom feeds for blogs.</li>
|
|
||||||
<li><code>atomitem.tmpl</code> - Used for generating individual items on atom feeds.</li>
|
|
||||||
<li><code>inlinepage.tmpl</code> - Used for displaying a post in a blog.</li>
|
|
||||||
<li><code>archivepage.tmpl</code> - Used for listing a page in a blog archive page.</li>
|
|
||||||
<li><code>titlepage.tmpl</code> - Used for listing a page by title in a blog archive page.</li>
|
|
||||||
<li><code>microblog.tmpl</code> - Used for showing a microblogging post inline.</li>
|
|
||||||
<li><code>blogpost.tmpl</code> - Used for a form to add a post to a blog (and rss/atom links)</li>
|
|
||||||
<li><code>feedlink.tmpl</code> - Used to add rss/atom links if <code>blogpost.tmpl</code> is not used.</li>
|
|
||||||
<li><code>aggregatepost.tmpl</code> - Used by the aggregate plugin to create
|
|
||||||
a page for a post.</li>
|
|
||||||
<li><code>searchform.tmpl</code>, <code>googleform.tmpl</code> - Used by the search plugin
|
|
||||||
and google plugin to add search forms to wiki pages.</li>
|
|
||||||
<li><code>searchquery.tmpl</code> - This is a Omega template, used by the
|
|
||||||
search plugin.</li>
|
|
||||||
<li><code>comment.tmpl</code> - Used by the comments plugin to display a comment.</li>
|
|
||||||
<li><code>change.tmpl</code> - Used to create a page describing a change made to the wiki.</li>
|
|
||||||
<li><code>recentchanges.tmpl</code> - Used for listing a change on the RecentChanges page.</li>
|
|
||||||
<li><code>autoindex.tmpl</code> - Filled in by the autoindex plugin to make index pages.</li>
|
|
||||||
<li><code>autotag.tmpl</code> - Filled in by the tag plugin to make tag pages.</li>
|
|
||||||
<li><code>calendarmonth.tmpl</code>, <code>calendaryear.tmpl</code> - Used by ikiwiki-calendar to
|
|
||||||
make calendar archive pages.</li>
|
|
||||||
<li><code>trails.tmpl</code> - Used by the trail plugin to generate links on each page
|
|
||||||
that is a member of a trail.</li>
|
|
||||||
<li><code>notifyemail.tmpl</code> - Used by the notifymail plugin to generate mails about
|
|
||||||
changed pages.</li>
|
|
||||||
<li><code>editpage.tmpl</code>, <code>editconflict.tmpl</code>, <code>editcreationconflict.tmpl</code>,
|
|
||||||
<code>editfailedsave.tmpl</code>, <code>editpagegone.tmpl</code>, <code>pocreatepage.tmpl</code>,
|
|
||||||
<code>editcomment.tmpl</code> <code>commentmoderation.tmpl</code>, <code>renamesummary.tmpl</code>,
|
|
||||||
<code>passwordmail.tmpl</code>, <code>emailauth.tmpl</code>, <code>login-selector.tmpl</code>,
|
|
||||||
<code>revert.tmpl</code> - Parts of ikiwiki's user interface; do not normally need
|
|
||||||
to be customised.</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="footer mt-auto py-2 bg-primary bg-opacity-25" role="contentinfo">
|
|
||||||
<div class="container-lg h-100">
|
|
||||||
<div class="text-center">
|
|
||||||
<h2>Liens intéressants</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href=https://www.facebook.com/GRIPUQAM" target="_blank">Page Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://www.facebook.com/groups/gripuqam" target="_blank">Groupe Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://assoarmu.wordpress.com/a-propos/" target="_blank">Association pour la Réappropriation des Milieux Urbains</a></li>
|
|
||||||
<li><a href="https://bibliothequedira.wordpress.com/" target="_blank">Bibliothèque DIRA</a></li>
|
|
||||||
<li><a href="https://www.resistancemontreal.org/calendrier" target="_blank">Calendrier Résistance Montréal</a></li>
|
|
||||||
<li><a href="https://www.clac-montreal.net/" target="_blank">Convergence des luttes anticapitalistes Montréal</a></li>
|
|
||||||
<li><a href="https://www.qpirgconcordia.org/" target="_blank">QPIRG Concordia GRIP</a></li>
|
|
||||||
<li><a href="https://qpirgmcgill.org/" target="_blank">QPIRG | GRIP McGill</a></li>
|
|
||||||
<li><a href="https://rqge.qc.ca/" target="_blank">Réseau Québecois des Groupes Écologistes</a></li>
|
|
||||||
<li><a href="https://www.pourlatransitionenergetique.org/" target="_blank">Front commun pour la transition énergétique</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,124 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
|
|
||||||
<meta name='robots' content='max-image-preview:large' />
|
|
||||||
|
|
||||||
<!-- Facebook Meta Tags -->
|
|
||||||
<meta property="og:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta property="og:type" content="website">
|
|
||||||
<meta property="og:title" content="note">
|
|
||||||
<meta property="og:description" content="GRIP-UQAM">
|
|
||||||
<meta property="og:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<!-- Twitter Meta Tags -->
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
|
||||||
<meta property="twitter:domain" content="cdpq-palestine.info">
|
|
||||||
<meta property="twitter:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta name="twitter:title" content="note">
|
|
||||||
<meta name="twitter:description" content="GRIP-UQAM">
|
|
||||||
<meta name="twitter:image" content="/og-image.png">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>note - GRIP-UQAM</title>
|
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="../../favicon-96x96.png" sizes="96x96" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="../../favicon.svg" />
|
|
||||||
<link rel="shortcut icon" href="../../favicon.ico" />
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="../../apple-touch-icon.png" />
|
|
||||||
<meta name="apple-mobile-web-app-title" content="GRIP-UQAM" />
|
|
||||||
<link rel="manifest" href="../../site.webmanifest" />
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<!-- those checksums can be verified with: shasum -b -a 384 $file | xxd -r -p |
|
|
||||||
base64 -->
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
||||||
|
|
||||||
<!-- Custom styles for derivatives -->
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../css/local.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- opendyslexic font -->
|
|
||||||
<link href="../../css/opendyslexic.css" rel="stylesheet" />
|
|
||||||
</head>
|
|
||||||
<body class="d-flex flex-column h-100">
|
|
||||||
<header>
|
|
||||||
<nav class="navbar navbar-expand-md navbar-light bg-danger text-white border" data-bs-theme="dark">
|
|
||||||
<div class="container-lg">
|
|
||||||
<a class="navbar-brand me-auto" href="../../">
|
|
||||||
<img alt="GRIP-UQAM" src="../../favicon-96x96.png" width="96" height="96" />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse">
|
|
||||||
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
|
|
||||||
<ul class="navbar-nav nav-link align-items-center ms-auto">
|
|
||||||
<li><a href="../../">Accueil</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="flex-shrink-0 bg-secondary">
|
|
||||||
<div id="content">
|
|
||||||
<p>Use this template to insert a note into a page. The note will be styled to
|
|
||||||
float to the right of other text on the page. This template has one
|
|
||||||
parameter:</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>`text` - the text to display in the note
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="footer mt-auto py-2 bg-primary bg-opacity-25" role="contentinfo">
|
|
||||||
<div class="container-lg h-100">
|
|
||||||
<div class="text-center">
|
|
||||||
<h2>Liens intéressants</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href=https://www.facebook.com/GRIPUQAM" target="_blank">Page Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://www.facebook.com/groups/gripuqam" target="_blank">Groupe Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://assoarmu.wordpress.com/a-propos/" target="_blank">Association pour la Réappropriation des Milieux Urbains</a></li>
|
|
||||||
<li><a href="https://bibliothequedira.wordpress.com/" target="_blank">Bibliothèque DIRA</a></li>
|
|
||||||
<li><a href="https://www.resistancemontreal.org/calendrier" target="_blank">Calendrier Résistance Montréal</a></li>
|
|
||||||
<li><a href="https://www.clac-montreal.net/" target="_blank">Convergence des luttes anticapitalistes Montréal</a></li>
|
|
||||||
<li><a href="https://www.qpirgconcordia.org/" target="_blank">QPIRG Concordia GRIP</a></li>
|
|
||||||
<li><a href="https://qpirgmcgill.org/" target="_blank">QPIRG | GRIP McGill</a></li>
|
|
||||||
<li><a href="https://rqge.qc.ca/" target="_blank">Réseau Québecois des Groupes Écologistes</a></li>
|
|
||||||
<li><a href="https://www.pourlatransitionenergetique.org/" target="_blank">Front commun pour la transition énergétique</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,130 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
|
|
||||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
||||||
|
|
||||||
<meta name='robots' content='max-image-preview:large' />
|
|
||||||
|
|
||||||
<!-- Facebook Meta Tags -->
|
|
||||||
<meta property="og:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta property="og:type" content="website">
|
|
||||||
<meta property="og:title" content="popup">
|
|
||||||
<meta property="og:description" content="GRIP-UQAM">
|
|
||||||
<meta property="og:image" content="/og-image.png">
|
|
||||||
|
|
||||||
<!-- Twitter Meta Tags -->
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
|
||||||
<meta property="twitter:domain" content="cdpq-palestine.info">
|
|
||||||
<meta property="twitter:url" content="https://cdpq-palestine.info/">
|
|
||||||
<meta name="twitter:title" content="popup">
|
|
||||||
<meta name="twitter:description" content="GRIP-UQAM">
|
|
||||||
<meta name="twitter:image" content="/og-image.png">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>popup - GRIP-UQAM</title>
|
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="../../favicon-96x96.png" sizes="96x96" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="../../favicon.svg" />
|
|
||||||
<link rel="shortcut icon" href="../../favicon.ico" />
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="../../apple-touch-icon.png" />
|
|
||||||
<meta name="apple-mobile-web-app-title" content="GRIP-UQAM" />
|
|
||||||
<link rel="manifest" href="../../site.webmanifest" />
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<!-- those checksums can be verified with: shasum -b -a 384 $file | xxd -r -p |
|
|
||||||
base64 -->
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
||||||
|
|
||||||
<!-- Custom styles for derivatives -->
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../css/local.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- opendyslexic font -->
|
|
||||||
<link href="../../css/opendyslexic.css" rel="stylesheet" />
|
|
||||||
</head>
|
|
||||||
<body class="d-flex flex-column h-100">
|
|
||||||
<header>
|
|
||||||
<nav class="navbar navbar-expand-md navbar-light bg-danger text-white border" data-bs-theme="dark">
|
|
||||||
<div class="container-lg">
|
|
||||||
<a class="navbar-brand me-auto" href="../../">
|
|
||||||
<img alt="GRIP-UQAM" src="../../favicon-96x96.png" width="96" height="96" />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<span class="navbar-toggler-icon"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse">
|
|
||||||
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
|
|
||||||
<ul class="navbar-nav nav-link align-items-center ms-auto">
|
|
||||||
<li><a href="../../">Accueil</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="flex-shrink-0 bg-secondary">
|
|
||||||
<div id="content">
|
|
||||||
<p>Use this template to create a popup window that is displayed when the mouse
|
|
||||||
is over part of the page. This template has two parameters:</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>`mouseover` - This is the text or other content that triggers the
|
|
||||||
popup.
|
|
||||||
<li>`popup` - This should be the content of the popup window. It can be
|
|
||||||
anything, even images or a whole little wiki page, but should not be too
|
|
||||||
large for good usability.
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p>Note that browsers that do not support the CSS will display the popup
|
|
||||||
inline in the page, inside square brackets.</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="footer mt-auto py-2 bg-primary bg-opacity-25" role="contentinfo">
|
|
||||||
<div class="container-lg h-100">
|
|
||||||
<div class="text-center">
|
|
||||||
<h2>Liens intéressants</h2>
|
|
||||||
<ul>
|
|
||||||
<li><a href=https://www.facebook.com/GRIPUQAM" target="_blank">Page Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://www.facebook.com/groups/gripuqam" target="_blank">Groupe Facebook du GRIP-UQÀM</a></li>
|
|
||||||
<li><a href="https://assoarmu.wordpress.com/a-propos/" target="_blank">Association pour la Réappropriation des Milieux Urbains</a></li>
|
|
||||||
<li><a href="https://bibliothequedira.wordpress.com/" target="_blank">Bibliothèque DIRA</a></li>
|
|
||||||
<li><a href="https://www.resistancemontreal.org/calendrier" target="_blank">Calendrier Résistance Montréal</a></li>
|
|
||||||
<li><a href="https://www.clac-montreal.net/" target="_blank">Convergence des luttes anticapitalistes Montréal</a></li>
|
|
||||||
<li><a href="https://www.qpirgconcordia.org/" target="_blank">QPIRG Concordia GRIP</a></li>
|
|
||||||
<li><a href="https://qpirgmcgill.org/" target="_blank">QPIRG | GRIP McGill</a></li>
|
|
||||||
<li><a href="https://rqge.qc.ca/" target="_blank">Réseau Québecois des Groupes Écologistes</a></li>
|
|
||||||
<li><a href="https://www.pourlatransitionenergetique.org/" target="_blank">Front commun pour la transition énergétique</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
40
tools/test-server.sh
Executable file
|
@ -0,0 +1,40 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||||
|
|
||||||
|
for i in node npm git; do
|
||||||
|
if ! command -v $i &> /dev/null; then
|
||||||
|
echo ">> $i could not be found, please install"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# http-server not pulled, pulling
|
||||||
|
if [ ! -d "$SCRIPT_DIR/http-server" ]; then
|
||||||
|
echo ">> This script will pull a lightweight nodejs http-server from https://github.com/http-party/http-server and make ./public avaiable as local http service, are you okay with this?"
|
||||||
|
read -p "Continue (y/n)?" choice
|
||||||
|
case "$choice" in
|
||||||
|
y|Y ) echo "yes";;
|
||||||
|
n|N ) echo "no";;
|
||||||
|
* ) echo "invalid";;
|
||||||
|
esac
|
||||||
|
git clone https://github.com/http-party/http-server
|
||||||
|
fi
|
||||||
|
|
||||||
|
# http-server depends not pulled, pulling
|
||||||
|
if [ ! -d "$SCRIPT_DIR/http-server/node_modules/" ]; then
|
||||||
|
echo ">> http-server dependencies not pulled, pulling"
|
||||||
|
npm --prefix "$SCRIPT_DIR"/http-server i
|
||||||
|
fi
|
||||||
|
|
||||||
|
# website not built, building
|
||||||
|
if [ ! -d "$SCRIPT_DIR/../public" ]; then
|
||||||
|
echo ">> website not build, building"
|
||||||
|
pushd "$SCRIPT_DIR"/..
|
||||||
|
ikiwiki --setup ./ikiwiki.setup
|
||||||
|
popd
|
||||||
|
fi
|
||||||
|
|
||||||
|
# starting server
|
||||||
|
echo ">> starting http server"
|
||||||
|
node "$SCRIPT_DIR"/http-server/bin/http-server -c-1 "$SCRIPT_DIR"/../public
|
Before Width: | Height: | Size: 219 B |
Before Width: | Height: | Size: 550 B |
Before Width: | Height: | Size: 336 B |
Before Width: | Height: | Size: 397 B |
Before Width: | Height: | Size: 74 B |