File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
templates/components/search Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 7272 margin-bottom : 10px ;
7373 }
7474
75+ > .template {
76+ @include border-radius (3px );
77+ @extend .no-select ;
78+ display : inline-block ;
79+ margin : 5px 5px 5px 0 ;
80+ padding : 0.3rem 0.7rem ;
81+ font-size : 0.9rem ;
82+ font-weight : 500 ;
83+ background-color : map-get ($yellow-shades , 300 );
84+ color : map-get ($yellow-shades , 800 );
85+ text-transform : uppercase ;
86+ }
87+
7588 & :hover {
7689 > .title {
7790 color : $color-link ;
Original file line number Diff line number Diff line change 6969 </div >
7070 <div class =" space" >{{ result.space }} </div >
7171 <div class =" snippet" >{{ result.excerpt }} </div >
72+ {{ #if result.template }}
73+ <div class =" template" >Template</div >
74+ {{ /if }}
7275 {{ folder/document-tags documentTags =result.tags }}
7376 {{ /link-to }}
7477 </li >
You can’t perform that action at this time.
0 commit comments