feat: pathPrefix + go back button
This commit is contained in:
parent
79a226608a
commit
724259327e
|
@ -17,6 +17,8 @@ module.exports = function(eleventyConfig) {
|
|||
return {
|
||||
dir: {
|
||||
input: "pages"
|
||||
},
|
||||
pathPrefix: '/~fainsil/'
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -8,10 +8,10 @@ username: Laureηt
|
|||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ username }}</title>
|
||||
<link rel="stylesheet" href="/css/main.css">
|
||||
<link rel="stylesheet" href="/css/blink.css">
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
|
||||
<script src="/javascript/chaffle.min.js"></script>
|
||||
<link rel="stylesheet" href="{{ '/css/main.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ '/css/blink.css' | url }}">
|
||||
<link rel="shortcut icon" type="image/x-icon" href="{{ '/favicon.ico' | url }}">
|
||||
<script src="{{ '/javascript/chaffle.min.js' | url }}"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
|
|
@ -71,6 +71,17 @@ footer {
|
|||
margin-left: -5px;
|
||||
}
|
||||
|
||||
.btn-back {
|
||||
text-align: center;
|
||||
margin: 3em 0 3em;
|
||||
}
|
||||
|
||||
.btn-back span {
|
||||
display:inline-block;
|
||||
transform: scale(2.5);
|
||||
translate: -.2em -.1em;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 700px) {
|
||||
body {
|
||||
font-size: 17px;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
layout: layout.njk
|
||||
---
|
||||
|
||||
<p>Hi, my name's Laurent Fainsin, and I'm currently an L3 engineering student at <a href="https://www.enseeiht.fr/">ENSEEIHT</a> in France. I study Computer Science and this is my personnal ePortfolio to showcase my work. Here is my <a href="/content/cv.pdf">resume</a> if you are professionally interested.</p>
|
||||
<p>Hi, my name's Laurent Fainsin, and I'm currently an L3 engineering student at <a href="https://www.enseeiht.fr/">ENSEEIHT</a> in France. I study Computer Science and this is my personnal ePortfolio to showcase my work. Here is my <a href="{{ '/content/cv.pdf' | url }}">resume</a> if you are professionally interested.</p>
|
||||
|
||||
<hr>
|
||||
<h1>Education</h1>
|
||||
|
@ -40,4 +40,9 @@ layout: layout.njk
|
|||
|
||||
<hr>
|
||||
<h1>TMAY Video</h1>
|
||||
Finally here is a small <a href="/content/2020-11-06-v1.mp4">video</a> I had to make to present myself.
|
||||
Finally here is a small <a href="{{ '/content/2020-11-06-v1.mp4' | url }}">video</a> I had to make to present myself.
|
||||
|
||||
<div class="btn-back">
|
||||
<span>«</span>
|
||||
<a href="{{ '/' | url }}">Go back</a>
|
||||
</div>
|
|
@ -3,7 +3,7 @@ layout: layout.njk
|
|||
---
|
||||
|
||||
<h1 data-chaffle="en">whoami</h1>
|
||||
<p>Hi, my name's Laurent Fainsin, and I'm currently an L3 engineering student at <a href="https://www.enseeiht.fr/">ENSEEIHT</a> in France. I study Computer Science and this is my personnal ePortfolio to showcase my work. Here is my <a href="content/cv.pdf">resume</a> if you are professionally interested.</p>
|
||||
<p>Hi, my name's Laurent Fainsin, and I'm currently an L3 engineering student at <a href="https://www.enseeiht.fr/">ENSEEIHT</a> in France. I study Computer Science and this is my personnal ePortfolio to showcase my work. Here is my <a href="{{ '/content/cv.pdf' | url }}">resume</a> if you are professionally interested.</p>
|
||||
|
||||
<hr>
|
||||
|
||||
|
@ -30,4 +30,4 @@ layout: layout.njk
|
|||
<hr>
|
||||
|
||||
<h1 data-chaffle="en">ePortfolio</h1>
|
||||
<p>If you want to take a look at the ePortfolio I had to make during my studies, it's <a href="ePortfolio/index.html">here</a>.</p>
|
||||
<p>If you want to take a look at the ePortfolio I had to make during my studies, it's <a href="{{ '/ePortfolio/' | url }}">here</a>.</p>
|
||||
|
|
Reference in a new issue