htaccess version

gh-pages
Miroslav Pokorný 8 years ago
parent 00ba5071a0
commit e2884264d0

@ -0,0 +1,46 @@
#
# SIMPLE - apache directory listing theme
#
# (c) 2017 Miroslav Pokorný
# https://miroslavpokorny.com/simple-apache-directory-listing-theme
#
Alias /simple/ /var/www/simple/
<Directory /var/www/>
<IfModule mod_autoindex.c>
Options Indexes FollowSymLinks
IndexOptions +FancyIndexing +VersionSort +HTMLTable +FoldersFirst +IconsAreLinks +IgnoreCase +SuppressDescription +SuppressHTMLPreamble +XHTML +IconWidth=16 +IconHeight=16 +NameWidth=*
IndexOrderDefault Ascending Name
HeaderName /simple/header.html
ReadmeName /simple/footer.html
DefaultIcon /simple/icons/document.png
AddIcon /simple/icons/arrow-curve-180.png ..
AddIcon /simple/icons/folder.png ^^DIRECTORY^^
AddIcon /simple/icons/document-text.png README INSTALL
AddIcon /simple/icons/application.png .exe .app
AddIcon /simple/icons/box.png .tar .tgz .tbz .tbz2 .bundle .rar .z .gz .zip
AddIcon /simple/icons/database.png .db .sqlite .dat
AddIcon /simple/icons/disc.png .iso .image
AddIcon /simple/icons/document-access.png .ade .adp .adn .accdb .accdr .accdt .mdb .mda .mdn .mdt .mdw .mdf .mde .accde .mam .maq .mar .mat .maf
AddIcon /simple/icons/document-binary.png .bin .hqx .uu
AddIcon /simple/icons/document-code.png .html .htm .htx .htmls .dhtml .phtml .shtml .inc .ssi .c .cc .css .h .rb .js .rb .pl .py .sh .shar .csh .ksh .tcl .as
AddIcon /simple/icons/document-excel.png .xls .xla .xlb .xlc .xld .xlk .xll .xlm .xlt .xlv .xlw .xlsx .xlsm .xlsb .xltm .xlam
AddIcon /simple/icons/document-excel-csv.png .csv
AddIcon /simple/icons/document-flash.png .fla .flv .swf .swt .swc
AddIcon /simple/icons/document-illustrator.png .ai .eps .epsf .epsi
AddIcon /simple/icons/document-number.png .conf
AddIcon /simple/icons/document-pdf.png .pdf
AddIcon /simple/icons/document-pdf-text.png .ps
AddIcon /simple/icons/document-photoshop.png .psd
AddIcon /simple/icons/document-php.png .php .phps .php5 .php3 .php4 .phtm
AddIcon /simple/icons/document-powerpoint.png .ppt .pptx .ppz .pot .pwz .ppa .pps .pow
AddIcon /simple/icons/document-tex.png .tex .dvi
AddIcon /simple/icons/document-text.png .txt
AddIcon /simple/icons/document-word.png .docx .docm .doc .dotx .dotm .dot .rtf
AddIconByType (IMG,/simple/icons/image.png) image/*
AddIconByType (SND,/simple/icons/music.png) audio/*
AddIconByType (TXT,/simple/icons/document-text.png) text/*
AddIconByType (VID,/simple/icons/film.png) video/*
</ifModule>
</Directory>

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

@ -0,0 +1,41 @@
</div>
<div class="footer">
<a href="https://miroslavpokorny.com/simple-apache-directory-listing-theme"></a>
</div>
<script type="text/javascript">
var ignoreDirectories = 0; // set how many directories should be ignored
var ignoreAsNoLink = false; // set whether to ignore as 'do not display' or ignore as 'no links in breadcrub, but visible'
var path = document.location.pathname;
var segments = path.split("/");
var breadcrumbs = '/ ';
var currentPath = "/";
var homeLink = "/";
for (var i = 0; i<segments.length; i++) {
if (segments[i] != '') {
currentPath += segments[i] + '/';
if (ignoreDirectories >= i) {
if (ignoreAsNoLink) {
breadcrumbs += segments[i] + ' / ';
}
homeLink = currentPath;
} else {
breadcrumbs += '<a href="' + currentPath + '">' + segments[i] + '</a> / ';
}
}
}
if (ignoreDirectories !== 0) {
document.getElementById('homelink').setAttribute('href', homeLink);
if (path === homeLink) {
document.querySelector('tr:nth-child(3)').remove();
}
}
var elements = document.getElementsByClassName('header__breadcrumbs');
var n = elements.length;
for (i = 0; i < n; i++) {
var e = elements[i];
e.innerHTML = breadcrumbs;
}
</script>
</body>
</html>

@ -0,0 +1,26 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="apple-touch-icon" sizes="180x180" href="/simple/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" href="/simple/favicons/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/simple/favicons/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="/simple/favicons/manifest.json">
<link rel="mask-icon" href="/simple/favicons/safari-pinned-tab.svg" color="#b33333">
<link rel="shortcut icon" href="/simple/favicons/favicon.ico">
<meta name="msapplication-config" content="/simple/favicons/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<link rel="stylesheet" href="/simple/style.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div class="gradient top"></div>
<div class="container">
<div class="header">
<div class="header__wrapper">
<div class="header__home"><a id="homelink" href="/"></a></div>
<div class="header__breadcrumbs">/ </div>
<br />
</div>
</div>
<div class="files">

Before

Width:  |  Height:  |  Size: 341 B

After

Width:  |  Height:  |  Size: 341 B

Before

Width:  |  Height:  |  Size: 618 B

After

Width:  |  Height:  |  Size: 618 B

Before

Width:  |  Height:  |  Size: 829 B

After

Width:  |  Height:  |  Size: 829 B

Before

Width:  |  Height:  |  Size: 632 B

After

Width:  |  Height:  |  Size: 632 B

Before

Width:  |  Height:  |  Size: 508 B

After

Width:  |  Height:  |  Size: 508 B

Before

Width:  |  Height:  |  Size: 483 B

After

Width:  |  Height:  |  Size: 483 B

Before

Width:  |  Height:  |  Size: 575 B

After

Width:  |  Height:  |  Size: 575 B

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Before

Width:  |  Height:  |  Size: 569 B

After

Width:  |  Height:  |  Size: 569 B

Before

Width:  |  Height:  |  Size: 827 B

After

Width:  |  Height:  |  Size: 827 B

Before

Width:  |  Height:  |  Size: 672 B

After

Width:  |  Height:  |  Size: 672 B

Before

Width:  |  Height:  |  Size: 652 B

After

Width:  |  Height:  |  Size: 652 B

Before

Width:  |  Height:  |  Size: 630 B

After

Width:  |  Height:  |  Size: 630 B

Before

Width:  |  Height:  |  Size: 702 B

After

Width:  |  Height:  |  Size: 702 B

Before

Width:  |  Height:  |  Size: 672 B

After

Width:  |  Height:  |  Size: 672 B

Before

Width:  |  Height:  |  Size: 651 B

After

Width:  |  Height:  |  Size: 651 B

Before

Width:  |  Height:  |  Size: 702 B

After

Width:  |  Height:  |  Size: 702 B

Before

Width:  |  Height:  |  Size: 692 B

After

Width:  |  Height:  |  Size: 692 B

Before

Width:  |  Height:  |  Size: 650 B

After

Width:  |  Height:  |  Size: 650 B

Before

Width:  |  Height:  |  Size: 650 B

After

Width:  |  Height:  |  Size: 650 B

Before

Width:  |  Height:  |  Size: 719 B

After

Width:  |  Height:  |  Size: 719 B

Before

Width:  |  Height:  |  Size: 665 B

After

Width:  |  Height:  |  Size: 665 B

Before

Width:  |  Height:  |  Size: 717 B

After

Width:  |  Height:  |  Size: 717 B

Before

Width:  |  Height:  |  Size: 703 B

After

Width:  |  Height:  |  Size: 703 B

Before

Width:  |  Height:  |  Size: 692 B

After

Width:  |  Height:  |  Size: 692 B

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Before

Width:  |  Height:  |  Size: 592 B

After

Width:  |  Height:  |  Size: 592 B

Before

Width:  |  Height:  |  Size: 677 B

After

Width:  |  Height:  |  Size: 677 B

Before

Width:  |  Height:  |  Size: 485 B

After

Width:  |  Height:  |  Size: 485 B

Before

Width:  |  Height:  |  Size: 654 B

After

Width:  |  Height:  |  Size: 654 B

Before

Width:  |  Height:  |  Size: 476 B

After

Width:  |  Height:  |  Size: 476 B

Before

Width:  |  Height:  |  Size: 752 B

After

Width:  |  Height:  |  Size: 752 B

Before

Width:  |  Height:  |  Size: 562 B

After

Width:  |  Height:  |  Size: 562 B

Before

Width:  |  Height:  |  Size: 703 B

After

Width:  |  Height:  |  Size: 703 B

Before

Width:  |  Height:  |  Size: 522 B

After

Width:  |  Height:  |  Size: 522 B

Before

Width:  |  Height:  |  Size: 725 B

After

Width:  |  Height:  |  Size: 725 B

Before

Width:  |  Height:  |  Size: 805 B

After

Width:  |  Height:  |  Size: 805 B

Before

Width:  |  Height:  |  Size: 669 B

After

Width:  |  Height:  |  Size: 669 B

Before

Width:  |  Height:  |  Size: 376 B

After

Width:  |  Height:  |  Size: 376 B

@ -0,0 +1,43 @@
#
# SIMPLE - apache directory listing theme
#
# (c) 2017 Miroslav Pokorný
# https://miroslavpokorny.com/simple-apache-directory-listing-theme
#
Options +Indexes
IndexOptions +FancyIndexing +VersionSort +HTMLTable +FoldersFirst +IconsAreLinks +IgnoreCase +SuppressDescription +XHTML +IconWidth=16 +IconHeight=16 +NameWidth=*
HeaderName /{SIMPLE_DIRECTORY}/simple/header.html
ReadmeName /{SIMPLE_DIRECTORY}/simple/footer.html
IndexStyleSheet /{SIMPLE_DIRECTORY}/simple/style.css
IndexIgnore .htaccess /simple
IndexHeadInsert '<meta name="viewport" content="width=device-width, initial-scale=1" /><meta charset="utf-8" /><link rel="apple-touch-icon" sizes="180x180" href="/{SIMPLE_DIRECTORY}/simple/favicons/apple-touch-icon.png" /><link rel="icon" type="image/png" href="/{SIMPLE_DIRECTORY}/simple/favicons/favicon-32x32.png" sizes="32x32" /><link rel="icon" type="image/png" href="/{SIMPLE_DIRECTORY}/simple/favicons/favicon-16x16.png" sizes="16x16" /><link rel="manifest" href="/{SIMPLE_DIRECTORY}/simple/favicons/manifest.json" /><link rel="mask-icon" href="/{SIMPLE_DIRECTORY}/simple/favicons/safari-pinned-tab.svg" color="#b33333" /><link rel="shortcut icon" href="/{SIMPLE_DIRECTORY}/simple/favicons/favicon.ico" /><meta name="msapplication-config" content="/{SIMPLE_DIRECTORY}/simple/favicons/browserconfig.xml" /><meta name="theme-color" content="#ffffff" /><link rel="stylesheet" href="/{SIMPLE_DIRECTORY}/simple/style.css" />'
IndexOrderDefault Ascending Name
DefaultIcon /{SIMPLE_DIRECTORY}/simple/icons/document.png
AddIcon /{SIMPLE_DIRECTORY}/simple/icons/arrow-curve-180.png ..
AddIcon /{SIMPLE_DIRECTORY}/simple/icons/folder.png ^^DIRECTORY^^
AddIcon /{SIMPLE_DIRECTORY}/simple/icons/document-text.png README INSTALL
AddIcon /{SIMPLE_DIRECTORY}/simple/icons/application.png .exe .app
AddIcon /{SIMPLE_DIRECTORY}/simple/icons/box.png .tar .tgz .tbz .tbz2 .bundle .rar .z .gz .zip .7z
AddIcon /{SIMPLE_DIRECTORY}/simple/icons/database.png .db .sqlite .dat
AddIcon /{SIMPLE_DIRECTORY}/simple/icons/disc.png .iso .image
AddIcon /{SIMPLE_DIRECTORY}/simple/icons/document-access.png .ade .adp .adn .accdb .accdr .accdt .mdb .mda .mdn .mdt .mdw .mdf .mde .accde .mam .maq .mar .mat .maf
AddIcon /{SIMPLE_DIRECTORY}/simple/icons/document-binary.png .bin .hqx .uu
AddIcon /{SIMPLE_DIRECTORY}/simple/icons/document-code.png .html .htm .htx .htmls .dhtml .phtml .shtml .inc .ssi .c .cc .css .h .rb .js .rb .pl .py .sh .shar .csh .ksh .tcl .as
AddIcon /{SIMPLE_DIRECTORY}/simple/icons/document-excel.png .xls .xla .xlb .xlc .xld .xlk .xll .xlm .xlt .xlv .xlw .xlsx .xlsm .xlsb .xltm .xlam
AddIcon /{SIMPLE_DIRECTORY}/simple/icons/document-excel-csv.png .csv
AddIcon /{SIMPLE_DIRECTORY}/simple/icons/document-flash.png .fla .flv .swf .swt .swc
AddIcon /{SIMPLE_DIRECTORY}/simple/icons/document-illustrator.png .ai .eps .epsf .epsi
AddIcon /{SIMPLE_DIRECTORY}/simple/icons/document-number.png .conf
AddIcon /{SIMPLE_DIRECTORY}/simple/icons/document-pdf.png .pdf
AddIcon /{SIMPLE_DIRECTORY}/simple/icons/document-pdf-text.png .ps
AddIcon /{SIMPLE_DIRECTORY}/simple/icons/document-photoshop.png .psd
AddIcon /{SIMPLE_DIRECTORY}/simple/icons/document-php.png .php .phps .php5 .php3 .php4 .phtm
AddIcon /{SIMPLE_DIRECTORY}/simple/icons/document-powerpoint.png .ppt .pptx .ppz .pot .pwz .ppa .pps .pow
AddIcon /{SIMPLE_DIRECTORY}/simple/icons/document-tex.png .tex .dvi
AddIcon /{SIMPLE_DIRECTORY}/simple/icons/document-text.png .txt
AddIcon /{SIMPLE_DIRECTORY}/simple/icons/document-word.png .docx .docm .doc .dotx .dotm .dot .rtf
AddIconByType (IMG,/{SIMPLE_DIRECTORY}/simple/icons/image.png) image/*
AddIconByType (SND,/{SIMPLE_DIRECTORY}/simple/icons/music.png) audio/*
AddIconByType (TXT,/{SIMPLE_DIRECTORY}/simple/icons/document-text.png) text/*
AddIconByType (VID,/{SIMPLE_DIRECTORY}/simple/icons/film.png) video/*

@ -0,0 +1,43 @@
#
# SIMPLE - apache directory listing theme
#
# (c) 2017 Miroslav Pokorný
# https://miroslavpokorny.com/simple-apache-directory-listing-theme
#
Options +Indexes
IndexOptions +FancyIndexing +VersionSort +HTMLTable +FoldersFirst +IconsAreLinks +IgnoreCase +SuppressDescription +XHTML +IconWidth=16 +IconHeight=16 +NameWidth=*
HeaderName /simple/header.html
ReadmeName /simple/footer.html
IndexStyleSheet /simple/style.css
IndexIgnore .htaccess /simple
IndexHeadInsert '<meta name="viewport" content="width=device-width, initial-scale=1" /><meta charset="utf-8" /><link rel="apple-touch-icon" sizes="180x180" href="/simple/favicons/apple-touch-icon.png" /><link rel="icon" type="image/png" href="/simple/favicons/favicon-32x32.png" sizes="32x32" /><link rel="icon" type="image/png" href="/simple/favicons/favicon-16x16.png" sizes="16x16" /><link rel="manifest" href="/simple/favicons/manifest.json" /><link rel="mask-icon" href="/simple/favicons/safari-pinned-tab.svg" color="#b33333" /><link rel="shortcut icon" href="/simple/favicons/favicon.ico" /><meta name="msapplication-config" content="/simple/favicons/browserconfig.xml" /><meta name="theme-color" content="#ffffff" /><link rel="stylesheet" href="/simple/style.css" />'
IndexOrderDefault Ascending Name
DefaultIcon /simple/icons/document.png
AddIcon /simple/icons/arrow-curve-180.png ..
AddIcon /simple/icons/folder.png ^^DIRECTORY^^
AddIcon /simple/icons/document-text.png README INSTALL
AddIcon /simple/icons/application.png .exe .app
AddIcon /simple/icons/box.png .tar .tgz .tbz .tbz2 .bundle .rar .z .gz .zip .7z
AddIcon /simple/icons/database.png .db .sqlite .dat
AddIcon /simple/icons/disc.png .iso .image
AddIcon /simple/icons/document-access.png .ade .adp .adn .accdb .accdr .accdt .mdb .mda .mdn .mdt .mdw .mdf .mde .accde .mam .maq .mar .mat .maf
AddIcon /simple/icons/document-binary.png .bin .hqx .uu
AddIcon /simple/icons/document-code.png .html .htm .htx .htmls .dhtml .phtml .shtml .inc .ssi .c .cc .css .h .rb .js .rb .pl .py .sh .shar .csh .ksh .tcl .as
AddIcon /simple/icons/document-excel.png .xls .xla .xlb .xlc .xld .xlk .xll .xlm .xlt .xlv .xlw .xlsx .xlsm .xlsb .xltm .xlam
AddIcon /simple/icons/document-excel-csv.png .csv
AddIcon /simple/icons/document-flash.png .fla .flv .swf .swt .swc
AddIcon /simple/icons/document-illustrator.png .ai .eps .epsf .epsi
AddIcon /simple/icons/document-number.png .conf
AddIcon /simple/icons/document-pdf.png .pdf
AddIcon /simple/icons/document-pdf-text.png .ps
AddIcon /simple/icons/document-photoshop.png .psd
AddIcon /simple/icons/document-php.png .php .phps .php5 .php3 .php4 .phtm
AddIcon /simple/icons/document-powerpoint.png .ppt .pptx .ppz .pot .pwz .ppa .pps .pow
AddIcon /simple/icons/document-tex.png .tex .dvi
AddIcon /simple/icons/document-text.png .txt
AddIcon /simple/icons/document-word.png .docx .docm .doc .dotx .dotm .dot .rtf
AddIconByType (IMG,/simple/icons/image.png) image/*
AddIconByType (SND,/simple/icons/music.png) audio/*
AddIconByType (TXT,/simple/icons/document-text.png) text/*
AddIconByType (VID,/simple/icons/film.png) video/*

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/icons/mstile-150x150.png"/>
<TileColor>#ffffff</TileColor>
</tile>
</msapplication>
</browserconfig>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

@ -0,0 +1,12 @@
{
"name": "Apache",
"icons": [
{
"src": "\/icons\/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image\/png"
}
],
"theme_color": "#ffffff",
"display": "standalone"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

@ -0,0 +1,31 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="300.000000pt" height="300.000000pt" viewBox="0 0 300.000000 300.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.11, written by Peter Selinger 2001-2013
</metadata>
<g transform="translate(0.000000,300.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M2645 2980 c-179 -36 -447 -115 -561 -165 -59 -26 -60 -29 -104 -205
-17 -69 -34 -132 -37 -140 -3 -8 -17 31 -32 88 -15 56 -32 107 -37 112 -6 6
-25 15 -43 20 -30 8 -46 3 -175 -64 -282 -145 -496 -296 -676 -476 -403 -403
-629 -858 -607 -1219 7 -114 26 -183 73 -270 l35 -64 -240 -242 c-210 -210
-241 -245 -241 -272 0 -48 34 -83 80 -83 36 0 48 10 277 240 l240 239 78 -39
c138 -69 294 -87 477 -55 310 54 718 300 1025 618 149 155 274 328 400 552
253 451 440 1032 421 1303 -6 78 -20 106 -64 127 -43 20 -175 18 -289 -5z
m198 -192 c-17 -217 -170 -682 -330 -1003 -209 -419 -421 -682 -744 -923 l-56
-42 -321 67 -320 67 399 399 c223 223 402 410 405 423 10 39 -4 73 -37 89 -51
27 -77 13 -194 -105 -60 -61 -112 -110 -116 -110 -3 0 -7 24 -8 53 -2 28 -4
70 -6 92 -2 22 -6 90 -10 150 -4 61 -8 121 -10 135 -2 14 -6 77 -10 141 l-7
116 93 55 c133 79 181 102 188 90 3 -6 28 -99 55 -209 52 -216 67 -243 127
-243 59 0 68 22 149 343 l74 297 54 20 c173 65 482 143 585 148 l44 3 -4 -53z
m-1522 -580 c2 -37 8 -111 13 -178 3 -41 8 -113 11 -160 3 -47 8 -103 10 -125
2 -22 7 -89 10 -150 l6 -110 -385 -385 -385 -384 -25 54 c-135 297 71 806 505
1250 74 76 218 200 232 200 4 0 7 -6 8 -12z m-98 -1453 c143 -30 264 -55 268
-55 45 0 -74 -62 -218 -113 -196 -71 -421 -71 -531 -1 -22 15 -22 16 80 119
57 57 111 104 122 105 10 0 136 -25 279 -55z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

@ -0,0 +1,39 @@
</div>
<div class="footer">
<a href="https://miroslavpokorny.com/simple-apache-directory-listing-theme"></a>
</div>
<script type="text/javascript">
var ignoreDirectories = 0; // set how many directories should be ignored
var ignoreAsNoLink = false; // set whether to ignore as 'do not display' or ignore as 'no links in breadcrub, but visible'
var path = document.location.pathname;
var segments = path.split("/");
var breadcrumbs = '/ ';
var currentPath = "/";
var homeLink = "/";
for (var i = 0; i<segments.length; i++) {
if (segments[i] != '') {
currentPath += segments[i] + '/';
if (ignoreDirectories >= i) {
if (ignoreAsNoLink) {
breadcrumbs += segments[i] + ' / ';
}
homeLink = currentPath;
} else {
breadcrumbs += '<a href="' + currentPath + '">' + segments[i] + '</a> / ';
}
}
}
if (ignoreDirectories !== 0) {
document.getElementById('homelink').setAttribute('href', homeLink);
if (path === homeLink) {
document.querySelector('tr:nth-child(3)').remove();
}
}
var elements = document.getElementsByClassName('header__breadcrumbs');
var n = elements.length;
for (i = 0; i < n; i++) {
var e = elements[i];
e.innerHTML = breadcrumbs;
}
</script>

@ -0,0 +1,10 @@
<div class="gradient top"></div>
<div class="container">
<div class="header">
<div class="header__wrapper">
<div class="header__home"><a id="homelink" href="/"></a></div>
<div class="header__breadcrumbs">/ </div>
<br />
</div>
</div>
<div class="files">

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 618 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 829 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 632 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 508 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 483 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 575 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 569 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 827 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 672 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 652 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 702 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 672 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 651 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 702 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 692 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 650 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 650 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 719 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 665 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 717 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 703 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 692 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save