fix wrong paths in gh-pages

This commit is contained in:
Cezar Augusto 2018-12-02 21:44:49 -02:00
parent cb980c60b8
commit 1702954a5c
54 changed files with 151 additions and 152 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2,227 +2,227 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/about/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/about/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/questions/coding-questions/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/questions/coding-questions/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/questions/css-questions/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/questions/css-questions/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/questions/fun-questions/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/questions/fun-questions/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/questions/general-questions/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/questions/general-questions/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/questions/html-questions/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/questions/html-questions/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/questions/javascript-questions/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/questions/javascript-questions/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/questions/network-questions/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/questions/network-questions/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/questions/performance-questions/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/questions/performance-questions/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/questions/testing-questions/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/questions/testing-questions/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/arabic/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/arabic/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/bulgarian/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/bulgarian/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/burmese/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/burmese/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/chinese-traditional/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/chinese-traditional/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/chinese/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/chinese/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/croatian/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/croatian/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/czech/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/czech/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/danish/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/danish/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/dutch/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/dutch/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/farsi/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/farsi/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/french/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/french/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/german/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/german/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/greek/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/greek/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/hebrew/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/hebrew/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/hungarian/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/hungarian/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/indonesian/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/indonesian/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/italian/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/italian/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/japanese/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/japanese/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/korean/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/korean/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/korean/reference.html</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/korean/reference.html</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/latvian/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/latvian/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/polish/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/polish/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/portuguese/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/portuguese/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/romanian/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/romanian/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/russian/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/russian/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/serbian/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/serbian/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/slovakian/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/slovakian/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/slovenian/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/slovenian/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/spanish/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/spanish/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/swedish/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/swedish/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/turkish/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/turkish/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/ukrainian/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/ukrainian/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/translations/vietnamese/</loc>
<lastmod>2018-12-02</lastmod>
</url>
<url>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/translations/vietnamese/</loc>
<lastmod>2018-11-26</lastmod>
<loc>https://h5bp.github.io/Front-end-Developer-Interview-Questions/Front-end-Developer-Interview-Questions/</loc>
<lastmod>2018-12-02</lastmod>
</url>
</urlset>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -64,7 +64,7 @@ module.exports = eleventyConfig => {
})
eleventyConfig.addFilter('github_permalink', str => {
return str.replace(/\.html/g, '')
return str.replace(/\/index.html/g, '.md')
})
eleventyConfig.addFilter('permalink', str => {

View File

@ -3,11 +3,11 @@
"version": "1.0.0",
"description": "A list of helpful front-end related questions you can use to interview potential candidates, test yourself or completely ignore.",
"scripts": {
"build": "eleventy --config=config/eleventy.config.js",
"build": "eleventy --config=config/eleventy.config.js --pathprefix='Front-end-Developer-Interview-Questions/'",
"deploy": "git subtree push --prefix _site git@github.com:h5bp/Front-end-Developer-Interview-Questions.git gh-pages",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate",
"start": "eleventy --config=config/eleventy.config.js --serve --port 9090"
"start": "eleventy --config=config/eleventy.config.js --serve --port 9090 --quiet"
},
"repository": {
"type": "git",

View File

@ -47,7 +47,7 @@
right: 0;
bottom: 0;
left: 0;
background-image: url('/assets/images/gradient.svg');
background-image: url('https://h5bp.github.io/Front-end-Developer-Interview-Questions/assets/images/gradient.svg');
pointer-events: none;
}
.header-big-title::before {

View File

@ -6,6 +6,6 @@
{% for person in maintainers.all %}
<a href="{{ person.github }}" target="_blank" rel="noreferrer noopener">{{ person.name }}</a>{% if not loop.last %}{% if loop.index != loop.length - 1 %}, {% else %} and {% endif %}{% endif %}
{% endfor %}.<br>
Curious about the project? <a href="/about/">Read more about here</a>.
Curious about the project? <a href="{{ '/about/' | url }}">Read more about here</a>.
</p>
</footer>

View File

@ -3,13 +3,13 @@
<li class="navigation-item"><span class="navigation-anchor">Questions:</span></li>
{% for entry in questions.all %}
{% if not entry.external %}
<li class="navigation-item"><a class="navigation-anchor" href="{{ entry.url }}" title="{{ entry.title }}">{{ entry.abbreviation }}</a></li>
<li class="navigation-item"><a class="navigation-anchor" href="{{ entry.url | url }}" title="{{ entry.title }}">{{ entry.abbreviation }}</a></li>
{% else %}
<li class="navigation-item"><a rel="external noreferrer noopener" target="_blank" class="navigation-anchor" href="{{ entry.url }}" title="{{ entry.title }} (external link)">{{ entry.abbreviation }}</a></li>
{% endif %}
{% endfor %}
<li class="navigation-item">|</li>
<li class="navigation-item-emoji"><a class="navigation-anchor" href="/" title="Home">🏠</a></li>
<li class="navigation-item-emoji"><a class="navigation-anchor" href="/translations" title="Translations">🌐</a></li>
<li class="navigation-item-emoji"><a class="navigation-anchor" href="{{ '/' | url }}" title="Home">🏠</a></li>
<li class="navigation-item-emoji"><a class="navigation-anchor" href="{{ '/translations' | url }}" title="Translations">🌐</a></li>
</ul>
</nav>

View File

@ -18,7 +18,6 @@
<meta property="og:url" content="{{ site.url }}{{ page.url | permalink }}">
<meta property="og:site_name" content="{{ site.title }}">
<meta property="og:image" content="{{ site.url }}/assets/images/og-image.png">
<meta property="og:image:secure_url" content="/assets/images/og-image.png">
<meta property="og:type" content="website">
<meta property="og:locale" content="{{site.language}}">
<!-- twitter -->
@ -29,10 +28,10 @@
<meta name="twitter:image" content="{{ site.url }}/assets/images/og-image.png">
<meta name="twitter:creator" content="{{ site.twitter }}">
<!-- icons -->
<link type="image/png" rel="apple-touch-icon" href="/assets/images/apple-touch-icon.png">
<link type="image/png" sizes="32x32" rel="icon" href="/assets/images/favicon-32x32.png">
<link type="image/png" sizes="16x16" rel="icon" href="/assets/images/favicon-32x32.png">
<link type="image/png" color="#181818" rel="mask-icon" href="/assets/images/favicon-96x96.png">
<link type="image/png" rel="apple-touch-icon" href="{{ site.url }}/assets/images/apple-touch-icon.png">
<link type="image/png" sizes="32x32" rel="icon" href="{{ site.url }}/assets/images/favicon-32x32.png">
<link type="image/png" sizes="16x16" rel="icon" href="{{ site.url }}/assets/images/favicon-32x32.png">
<link type="image/png" color="#181818" rel="mask-icon" href="{{ site.url }}/assets/images/favicon-96x96.png">
<!-- android -->
<meta name="mobile-web-app-capable" content="yes">
<!-- robots and humans -->

View File

@ -10,7 +10,7 @@ permalink: /index.html
<h1 class="header-big-title gradient1">
{{ title }}</h1>
<p class="header-big-description">
A list of helpful front-end related questions you can use to interview potential candidates, test yourself or completely ignore. <a href="/about/">Read more about here</a>. Better in your language? See one of our <a href="/translations/">translations</a>.
A list of helpful front-end related questions you can use to interview potential candidates, test yourself or completely ignore. <a href="{{ '/about/' | url }}">Read more about here</a>. Better in your language? See one of our <a href="{{ '/translations/' | url }}">translations</a>.
</p>
<p class="header-description">
Since this project begun, thousands of questions were added by an amazing group of people, and translated to more than 30 different languages. <b>Want to contribute?</b> See our <a href="https://github.com/h5bp/Front-end-Developer-Interview-Questions/blob/master/.github/CONTRIBUTING.md" target="_blank" rel="noreferrer noopener">contribute</a> guide. We have a <a href="https://github.com/h5bp/Front-end-Developer-Interview-Questions/blob/master/CONTRIBUTORS.md">Hall of Fame 👑</a>.