Skip to content

Commit 5af13fb

Browse files
author
Evan You
committed
add contribution link on doc pages
1 parent ffe43e7 commit 5af13fb

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

themes/vue/layout/page.ejs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
<div class="content <%- page.type ? page.type + ' with-sidebar' : '' %>">
55
<h1><%- page.title %><%- page.type === 'examples' ? ' Example' : '' %></h1>
66
<%- page.content %>
7+
<div class="footer">Caught a mistake or want to contribute to the documentation? <a href="https://github.com/vuejs/vuejs.org" target="_blank">Fork this site on Github</a>!</div>
78
</div>

themes/vue/source/css/page.styl

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,14 @@ $header-height = 40px
136136
font-weight bold
137137
font-family Georgia
138138

139+
.footer
140+
color $light
141+
margin-top 4em
142+
padding-top 2em
143+
border-top 1px solid #e5e5e5
144+
margin-left .8em
145+
font-size .9em
146+
139147
@media screen and (min-width: 720px)
140148
#main.fix-sidebar
141149
.sidebar
@@ -196,4 +204,7 @@ $header-height = 40px
196204
&.with-sidebar
197205
margin-left 0
198206
figure, p, ul, p.tip
199-
margin-left 0
207+
margin-left 0
208+
.footer
209+
margin-left 0
210+
text-align center

0 commit comments

Comments
 (0)