Skip to content

Commit 8325f01

Browse files
committed
links changed
1 parent 52faa58 commit 8325f01

File tree

12 files changed

+67
-57
lines changed

12 files changed

+67
-57
lines changed

build/get-started/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
<div class="container">
2424
<div class="navbar-header">
2525
<button type="button" data-toggle="collapse" data-target=".main-menu__collapse" aria-expanded="false" class="navbar-toggle collapsed"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span>
26-
</button><a href="/" class="navbar-brand">P.C.C.</a>
26+
</button><a href="../" class="navbar-brand">P.C.C.</a>
2727
</div>
2828
<div class="collapse navbar-collapse main-menu__collapse">
2929
<ul class="nav navbar-nav navbar-right">
30-
<li><a href="/">Home</a></li>
31-
<li class="active"><a href="/get-started">Get Started</a></li>
32-
<li><a href="/components">Components</a></li>
30+
<li><a href="../">Home</a></li>
31+
<li class="active"><a href="get-started/">Get Started</a></li>
32+
<li><a href="components/">Components</a></li>
3333
<li><a href="https://github.com/pgalias/pure-css-components">Github</a></li>
3434
<li><a href="http://galias.com">Author</a></li>
3535
</ul>
@@ -145,8 +145,8 @@ <h1><a href="#creating-own-themes">Creating own themes</a></h1>
145145
<ul class="inline">
146146
<li><a href="https://github.com/pgalias/pure-css-components">GitHub</a></li>
147147
<li><a href="https://github.com/pgalias/pure-css-components/issues">Issues</a></li>
148-
<li><a href="/components">Components</a></li>
149-
<li><a href="/get-started">Get started</a></li>
148+
<li><a href="./components">Components</a></li>
149+
<li><a href="./get-started">Get started</a></li>
150150
</ul>
151151
</nav>
152152
</div>
@@ -156,4 +156,4 @@ <h1><a href="#creating-own-themes">Creating own themes</a></h1>
156156
<script src="../scripts/main.js"></script>
157157
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.6.0/highlight.min.js"></script>
158158
<script>hljs.initHighlightingOnLoad()</script>
159-
</body></html>
159+
</body></html>

build/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
<div class="collapse navbar-collapse main-menu__collapse">
2828
<ul class="nav navbar-nav navbar-right">
2929
<li class="active"><a href="/">Home</a></li>
30-
<li><a href="/get-started">Get Started</a></li>
31-
<li><a href="/components">Components</a></li>
30+
<li><a href="get-started/">Get Started</a></li>
31+
<li><a href="components/">Components</a></li>
3232
<li><a href="https://github.com/pgalias/pure-css-components">Github</a></li>
3333
<li><a href="http://galias.com">Author</a></li>
3434
</ul>
@@ -40,7 +40,7 @@
4040
<div class="container">
4141
<h1>Pure CSS Components</h1>
4242
<p>The CSS toolkit</p>
43-
<div class="btns"><a href="/components" class="btn btn-lg btn-blue">Read the docs</a><a href="/get-started" class="btn btn-lg btn-blue">Download</a></div>
43+
<div class="btns"><a href="components/" class="btn btn-lg btn-blue">Read the docs</a><a href="/get-started" class="btn btn-lg btn-blue">Download</a></div>
4444
</div>
4545
</div>
4646
</header>
@@ -75,13 +75,13 @@ <h3>Fully customizable</h3>
7575
<ul class="inline">
7676
<li><a href="https://github.com/pgalias/pure-css-components">GitHub</a></li>
7777
<li><a href="https://github.com/pgalias/pure-css-components/issues">Issues</a></li>
78-
<li><a href="/components">Components</a></li>
79-
<li><a href="/get-started">Get started</a></li>
78+
<li><a href="./components">Components</a></li>
79+
<li><a href="./get-started">Get started</a></li>
8080
</ul>
8181
</nav>
8282
</div>
8383
</footer>
8484
<script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
8585
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
8686
<script src="./scripts/main.js"></script>
87-
</body></html>
87+
</body></html>

docs/components/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
<div class="container">
2424
<div class="navbar-header">
2525
<button type="button" data-toggle="collapse" data-target=".main-menu__collapse" aria-expanded="false" class="navbar-toggle collapsed"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span>
26-
</button><a href="/" class="navbar-brand">P.C.C.</a>
26+
</button><a href="http://pgalias.github.io/pure-css-components/" class="navbar-brand">P.C.C.</a>
2727
</div>
2828
<div class="collapse navbar-collapse main-menu__collapse">
2929
<ul class="nav navbar-nav navbar-right">
30-
<li><a href="/pure-css-components">Home</a></li>
31-
<li><a href="pure-css-components/get-started">Get Started</a></li>
32-
<li class="active"><a href="pure-css-components/components">Components</a></li>
30+
<li><a href="http://pgalias.github.io/pure-css-components/pure-css-components/">Home</a></li>
31+
<li><a href="http://pgalias.github.io/pure-css-components/get-started/">Get Started</a></li>
32+
<li class="active"><a href="http://pgalias.github.io/pure-css-components/components/">Components</a></li>
3333
<li><a href="https://github.com/pgalias/pure-css-components">Github</a></li>
3434
<li><a href="http://galias.com">Author</a></li>
3535
</ul>
@@ -705,8 +705,8 @@ <h2>Tab #4</h2>
705705
<ul class="inline">
706706
<li><a href="https://github.com/pgalias/pure-css-components">GitHub</a></li>
707707
<li><a href="https://github.com/pgalias/pure-css-components/issues">Issues</a></li>
708-
<li><a href="pure-css-components/components">Components</a></li>
709-
<li><a href="pure-css-components/get-started">Get started</a></li>
708+
<li><a href="http://pgalias.github.io/pure-css-components/components/">Components</a></li>
709+
<li><a href="http://pgalias.github.io/pure-css-components/get-started/">Get started</a></li>
710710
</ul>
711711
</nav>
712712
</div>

docs/get-started/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
<div class="container">
2424
<div class="navbar-header">
2525
<button type="button" data-toggle="collapse" data-target=".main-menu__collapse" aria-expanded="false" class="navbar-toggle collapsed"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span>
26-
</button><a href="/" class="navbar-brand">P.C.C.</a>
26+
</button><a href="http://pgalias.github.io/pure-css-components/" class="navbar-brand">P.C.C.</a>
2727
</div>
2828
<div class="collapse navbar-collapse main-menu__collapse">
2929
<ul class="nav navbar-nav navbar-right">
30-
<li><a href="/pure-css-components">Home</a></li>
31-
<li class="active"><a href="pure-css-components/get-started">Get Started</a></li>
32-
<li><a href="pure-css-components/components">Components</a></li>
30+
<li><a href="http://pgalias.github.io/pure-css-components/pure-css-components/">Home</a></li>
31+
<li class="active"><a href="http://pgalias.github.io/pure-css-components/get-started/">Get Started</a></li>
32+
<li><a href="http://pgalias.github.io/pure-css-components/components/">Components</a></li>
3333
<li><a href="https://github.com/pgalias/pure-css-components">Github</a></li>
3434
<li><a href="http://galias.com">Author</a></li>
3535
</ul>
@@ -145,8 +145,8 @@ <h1><a href="#creating-own-themes">Creating own themes</a></h1>
145145
<ul class="inline">
146146
<li><a href="https://github.com/pgalias/pure-css-components">GitHub</a></li>
147147
<li><a href="https://github.com/pgalias/pure-css-components/issues">Issues</a></li>
148-
<li><a href="pure-css-components/components">Components</a></li>
149-
<li><a href="pure-css-components/get-started">Get started</a></li>
148+
<li><a href="http://pgalias.github.io/pure-css-components/components/">Components</a></li>
149+
<li><a href="http://pgalias.github.io/pure-css-components/get-started/">Get started</a></li>
150150
</ul>
151151
</nav>
152152
</div>

docs/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
<div class="container">
2323
<div class="navbar-header">
2424
<button type="button" data-toggle="collapse" data-target=".main-menu__collapse" aria-expanded="false" class="navbar-toggle collapsed"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span>
25-
</button><a href="/" class="navbar-brand">P.C.C.</a>
25+
</button><a href="http://pgalias.github.io/pure-css-components/" class="navbar-brand">P.C.C.</a>
2626
</div>
2727
<div class="collapse navbar-collapse main-menu__collapse">
2828
<ul class="nav navbar-nav navbar-right">
29-
<li class="active"><a href="/pure-css-components">Home</a></li>
30-
<li><a href="pure-css-components/get-started">Get Started</a></li>
31-
<li><a href="pure-css-components/components">Components</a></li>
29+
<li class="active"><a href="http://pgalias.github.io/pure-css-components/pure-css-components/">Home</a></li>
30+
<li><a href="http://pgalias.github.io/pure-css-components/get-started/">Get Started</a></li>
31+
<li><a href="http://pgalias.github.io/pure-css-components/components/">Components</a></li>
3232
<li><a href="https://github.com/pgalias/pure-css-components">Github</a></li>
3333
<li><a href="http://galias.com">Author</a></li>
3434
</ul>
@@ -40,7 +40,7 @@
4040
<div class="container">
4141
<h1>Pure CSS Components</h1>
4242
<p>The CSS toolkit</p>
43-
<div class="btns"><a href="/components" class="btn btn-lg btn-blue">Read the docs</a><a href="/get-started" class="btn btn-lg btn-blue">Download</a></div>
43+
<div class="btns"><a href="http://pgalias.github.io/pure-css-components/components" class="btn btn-lg btn-blue">Read the docs</a><a href="http://pgalias.github.io/pure-css-components/get-started" class="btn btn-lg btn-blue">Download</a></div>
4444
</div>
4545
</div>
4646
</header>
@@ -75,8 +75,8 @@ <h3>Fully customizable</h3>
7575
<ul class="inline">
7676
<li><a href="https://github.com/pgalias/pure-css-components">GitHub</a></li>
7777
<li><a href="https://github.com/pgalias/pure-css-components/issues">Issues</a></li>
78-
<li><a href="pure-css-components/components">Components</a></li>
79-
<li><a href="pure-css-components/get-started">Get started</a></li>
78+
<li><a href="http://pgalias.github.io/pure-css-components/components/">Components</a></li>
79+
<li><a href="http://pgalias.github.io/pure-css-components/get-started/">Get started</a></li>
8080
</ul>
8181
</nav>
8282
</div>

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
"host": "127.0.0.1",
6464
"port": "3000",
6565
"baseUrl": "./",
66+
"domain": "http://pgalias.github.io/pure-css-components/",
6667
"directories": {
6768
"source": "src",
6869
"destination": "docs",

src/_data/footer.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
[{
22
"name": "GitHub",
3-
"link": "https://github.com/pgalias/pure-css-components"
3+
"link": "https://github.com/pgalias/pure-css-components",
4+
"external": true
45
}, {
56
"name": "Issues",
6-
"link": "https://github.com/pgalias/pure-css-components/issues"
7+
"link": "https://github.com/pgalias/pure-css-components/issues",
8+
"external": true
79
}, {
810
"name": "Components",
9-
"link": "pure-css-components/components"
11+
"link": "components/",
12+
"external": false
1013
}, {
1114
"name": "Get started",
12-
"link": "pure-css-components/get-started"
15+
"link": "get-started/",
16+
"external": false
1317
}]

src/_data/menu.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
[{
22
"name": "Home",
3-
"link": "/pure-css-components"
3+
"link": "pure-css-components/",
4+
"external": false
45
}, {
56
"name": "Get Started",
6-
"link": "pure-css-components/get-started"
7+
"link": "get-started/",
8+
"external": false
79
}, {
810
"name": "Components",
9-
"link": "pure-css-components/components"
11+
"link": "components/",
12+
"external": false
1013
}, {
1114
"name": "Github",
12-
"link": "https://github.com/pgalias/pure-css-components"
15+
"link": "https://github.com/pgalias/pure-css-components",
16+
"external": true
1317
}, {
1418
"name": "Author",
15-
"link": "http://galias.com"
19+
"link": "http://galias.com",
20+
"external": true
1621
}]

src/_modules/footer/footer.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ mixin footer(spec)
1313
ul.inline
1414
each link in site.data.footer
1515
li
16-
a(href=link.link) #{link.name}
16+
a(href=(link.external ? link.link : config.domain + link.link)) #{link.name}
1717
else if block
1818
block
1919
else

src/_modules/header/header.jade

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ mixin header(spec)
88
h1 Pure CSS Components
99
p The CSS toolkit
1010
.btns
11-
a(href='/components').btn.btn-lg.btn-blue Read the docs
12-
a(href='/get-started').btn.btn-lg.btn-blue Download
11+
a(href='#{config.domain}components').btn.btn-lg.btn-blue Read the docs
12+
a(href='#{config.domain}get-started').btn.btn-lg.btn-blue Download

src/_modules/menu/menu.jade

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ mixin menu(spec)
1111
span.sr-only Toggle navigation
1212
- for (var i=0; i<3; i++)
1313
span.icon-bar
14-
a(href='/').navbar-brand P.C.C.
14+
a(href=config.domain).navbar-brand P.C.C.
1515

1616
.collapse.navbar-collapse.main-menu__collapse
1717
ul.nav.navbar-nav.navbar-right
1818
each link in site.data.menu
1919
li(class=link.name == title ? 'active' : '')
20-
a(href=link.link) #{link.name}
20+
a(href=(link.external ? link.link : config.domain + link.link)) #{link.name}
2121
else if spec.__class == 'side-menu'
2222

2323
else if block

src/index.jade

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ extends _layouts/base
33
include _modules/header/header
44

55
block config
6-
- baseUrl = config.baseUrl || './'
7-
- title = 'Home'
6+
- baseUrl = config.baseUrl || './'
7+
- title = 'Home'
88

99
block header
10-
+header({__class: 'main-header'})
10+
+header({__class: 'main-header'})
1111

1212
block content
13-
section.main-content
14-
.container
15-
.row.features
16-
each feature in site.data.features
17-
.col-xs-12.col-sm-6.col-md-3
18-
img(src='images/#{feature.icon}' alt='feature header')
19-
h3 #{feature.title}
20-
p #{feature.desc}
13+
section.main-content
14+
.container
15+
.row.features
16+
each feature in site.data.features
17+
.col-xs-12.col-sm-6.col-md-3
18+
img(src='images/#{feature.icon}' alt='feature header')
19+
h3 #{feature.title}
20+
p #{feature.desc}

0 commit comments

Comments
 (0)