Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
eee822d
1st verstion of iframe shortcode
narrenfrei May 5, 2021
8cca784
dev content for iframe shortcode
narrenfrei May 5, 2021
0efed1c
Testing iframe shortcode for X-Frame-Options
narrenfrei May 5, 2021
66c5d2a
included sandboxing for iframe shortcode
narrenfrei May 5, 2021
e9fce15
manual for iframe shortcode
narrenfrei May 6, 2021
e311306
some tweaks for iframe shortcode
narrenfrei May 6, 2021
456b2f2
little update for docs for iframe shortcode
narrenfrei May 6, 2021
c38f7ae
config for dev taxonomies
narrenfrei May 10, 2021
d7fd667
test content
narrenfrei May 10, 2021
af2cefb
CSS for taxonomy in article
narrenfrei May 10, 2021
e92d87d
1st try of taxonomy pages
narrenfrei May 10, 2021
b4ab0b9
taxonomy for pages
narrenfrei May 10, 2021
3191edb
settings for taxonomy
narrenfrei May 10, 2021
f970102
small typo
narrenfrei May 11, 2021
3e43b1b
taxonomy clouds
narrenfrei May 11, 2021
09f99d4
developing layout of taxonomy terms
narrenfrei May 12, 2021
35bc1f3
dev content for taxonomies
narrenfrei May 12, 2021
def3ef0
dev taxonomy control parameter
narrenfrei May 12, 2021
9687e8b
adding language variable ui_all
narrenfrei May 12, 2021
d29ef50
option to hide title in taxonomy_terms_cloud
narrenfrei May 12, 2021
5b511c4
1st dev version for taxonomy specific pages
narrenfrei May 12, 2021
1313585
rearrange taxonomy infos, css update
narrenfrei May 12, 2021
5b94ee7
small CSS update
narrenfrei May 12, 2021
e12e297
taxonomies also for blog articles
narrenfrei May 13, 2021
acad4cd
Enhance Lastmod to just be printed if there is git info present
urban-adeininger May 17, 2021
d177b9d
adding XLT to customized Docsy examples
emckean May 17, 2021
a2de681
simplify tag layout
narrenfrei May 19, 2021
46309a2
more dev content for blog
narrenfrei May 19, 2021
65bf8dd
Norsk dev content
narrenfrei May 19, 2021
abf1e34
test multi language support for taxonomies
narrenfrei May 19, 2021
932a54d
testing multinguage taxonomy support
narrenfrei May 19, 2021
94853a4
some css tweaks
narrenfrei May 19, 2021
dac12df
Merge pull request #561 from google/emckean-XLT-1
LisaFC May 21, 2021
ed4ca9a
Merge pull request #557 from deining/lastmod
LisaFC May 21, 2021
dfd8b23
Add Tekton to examples
RichieEscarez May 24, 2021
de9c79d
Merge pull request #566 from google/tekton-example
emckean May 24, 2021
c7c3588
rearange page structure
narrenfrei May 24, 2021
c23f480
Bump browserslist from 4.16.3 to 4.16.6 in /userguide
dependabot[bot] May 25, 2021
527b94b
Merge pull request #569 from google/dependabot/npm_and_yarn/userguide…
LisaFC May 26, 2021
c3cefa7
Few text tweaks
LisaFC May 26, 2021
24ede4a
Merge pull request #544 from narrenfrei/iframe-shortcode
LisaFC May 26, 2021
cf71c62
add Flux website as an example - and thanks so much for Docsy
May 26, 2021
984f246
Merge pull request #574 from dholbach/add-flux-site
emckean May 26, 2021
1f7e344
restructure right sidebar toc
narrenfrei May 26, 2021
da958fa
dev content for showcase
narrenfrei May 27, 2021
1f54085
showcase for styling possibilities
narrenfrei May 27, 2021
035d093
Restore layout of td-page-meta
narrenfrei May 27, 2021
276e518
CSS updates for showcase
narrenfrei May 27, 2021
009a0a2
resturcture of partial toc
narrenfrei May 27, 2021
d0e0552
init manual taxonomy support
narrenfrei May 27, 2021
c585668
manual for taxonomy support
narrenfrei May 27, 2021
77ad2ac
cleaning up html code
narrenfrei May 27, 2021
f29354b
cleaning up SCSS
narrenfrei May 27, 2021
9a4f959
removing test content
LisaFC May 27, 2021
601d881
changed settings for dev
narrenfrei May 28, 2021
4ded462
config for dev taxonomies
narrenfrei May 10, 2021
b90af98
test content
narrenfrei May 10, 2021
97746ef
CSS for taxonomy in article
narrenfrei May 10, 2021
b63d876
1st try of taxonomy pages
narrenfrei May 10, 2021
f7cff83
taxonomy for pages
narrenfrei May 10, 2021
f6088c6
settings for taxonomy
narrenfrei May 10, 2021
fd3f559
small typo
narrenfrei May 11, 2021
9ca6132
taxonomy clouds
narrenfrei May 11, 2021
6695da5
developing layout of taxonomy terms
narrenfrei May 12, 2021
3244426
dev content for taxonomies
narrenfrei May 12, 2021
3c0ae93
dev taxonomy control parameter
narrenfrei May 12, 2021
dbe214d
adding language variable ui_all
narrenfrei May 12, 2021
82328ce
option to hide title in taxonomy_terms_cloud
narrenfrei May 12, 2021
3341a3d
1st dev version for taxonomy specific pages
narrenfrei May 12, 2021
d8c5e04
rearrange taxonomy infos, css update
narrenfrei May 12, 2021
2fc15ca
small CSS update
narrenfrei May 12, 2021
36f23f7
taxonomies also for blog articles
narrenfrei May 13, 2021
119f235
simplify tag layout
narrenfrei May 19, 2021
6117578
more dev content for blog
narrenfrei May 19, 2021
d4d7782
Norsk dev content
narrenfrei May 19, 2021
83fb756
test multi language support for taxonomies
narrenfrei May 19, 2021
23d865b
testing multinguage taxonomy support
narrenfrei May 19, 2021
5725213
some css tweaks
narrenfrei May 19, 2021
bf5cde8
rearange page structure
narrenfrei May 24, 2021
b2bcc39
restructure right sidebar toc
narrenfrei May 26, 2021
04ad7b8
dev content for showcase
narrenfrei May 27, 2021
fcb793e
showcase for styling possibilities
narrenfrei May 27, 2021
09fd798
Restore layout of td-page-meta
narrenfrei May 27, 2021
5f86b6d
CSS updates for showcase
narrenfrei May 27, 2021
02b82e9
resturcture of partial toc
narrenfrei May 27, 2021
f20c672
init manual taxonomy support
narrenfrei May 27, 2021
866b71b
manual for taxonomy support
narrenfrei May 27, 2021
aadfdf4
cleaning up html code
narrenfrei May 27, 2021
bd0b5ef
cleaning up SCSS
narrenfrei May 27, 2021
eb11922
changed settings for dev
narrenfrei May 28, 2021
26273c9
Merge branch 'dev-taxonomy-2'
narrenfrei May 28, 2021
7331d96
small style tweak for taxonomy showcase
narrenfrei Jun 7, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions assets/scss/_sidebar-toc.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Right side toc
//
.td-toc {
.td-sidebar-toc {
border-left: 1px solid $border-color;

@supports (position: sticky) {
Expand All @@ -16,6 +16,17 @@
padding-bottom: 1.5rem;
vertical-align: top;

}

.td-page-meta {
a {
display: block;
font-weight: $font-weight-medium;
}
}

.td-toc {

a {
display: block;
font-weight: $font-weight-light;
Expand All @@ -31,12 +42,6 @@
margin-left: 0.5rem;
}

.td-page-meta {
a {
font-weight: $font-weight-medium;
}
}

#TableOfContents {
// Hugo's ToC is a mouthful, this can be used to style the top level h2 entries.
> ul > li > ul > li > a {}
Expand Down
332 changes: 332 additions & 0 deletions assets/scss/_taxonomy.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,332 @@
// Taxonomies - e.g. Tags, Categories, ...

.taxonomy-terms-article {
width: 100%;
clear: both;
font-size: 0.8rem;

.taxonomy-title {
display: inline;
font-size: 1.25em;
height: 1em;
line-height: 1em;
margin-right: 0.5em;
padding: 0;
}
}

.taxonomy-terms-cloud {
width: 100%;
clear: both;
font-size: 0.8rem;

.taxonomy-title {
display: inline-block;
width: 100%;
font-size: 1rem;
font-weight: 700;
color: $primary;
border-bottom: 1px $primary solid;
margin-bottom: 1em;
padding-bottom: 0.375rem;
margin-top: 1em;
}
}

.taxonomy-terms-page {
max-width: 800px;
margin: auto;

h1 {
margin-bottom: 1em;
}

.taxonomy-terms-cloud {
font-size: 1em;

li {
display: block;
}
}

.taxo-text-tags {

li + li::before {
content: none;
}
}

.taxo-fruits {

.taxonomy-count,
.taxonomy-label {
display: inherit;
font-size: 1rem;
margin: 0;
padding: 0;
padding-right: 0.5em;
}

.taxonomy-count::before {
content: "(";
}
.taxonomy-count::after {
content: ")";
}
}
}

.taxonomy-terms {
list-style: none;
margin: 0;
overflow: hidden;
padding: 0;
display: inline;

li {
// https://stackoverflow.com/questions/3247358/how-do-i-wrap-text-with-no-whitespace-inside-a-td
display: inline;
overflow-wrap: break-word;
word-wrap: break-word;
-ms-word-break: break-all;
word-break: break-all;
word-break: break-word;
-ms-hyphens: auto;
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}
}

.taxonomy-count {
font-size: 0.8em;
line-height: 1.25em;
display: inline-block;
padding-left: 0.6em;
padding-right: 0.6em;
margin-left: 0.6em;
text-align: center;
border-radius: 1em;
background-color: $white;
}

.taxonomy-term {
background: $gray-200;
border-width: 0;
border-radius: 0 3px 3px 0;
color: $gray-600;
display: inline-block;
font-size: 1em;
line-height: 1.5em;
min-height: 1.5em;
max-width: 100%;
padding: 0 0.5em 0 1em;
position: relative;
margin: 0 0.5em 0.2em 0;
text-decoration: none;
-webkit-transition: color 0.2s;
-webkit-clip-path: polygon(100% 0,100% 100%,0.8em 100%,0 50%,0.8em 0);
clip-path: polygon(100% 0,100% 100%,0.8em 100%,0 50%,0.8em 0);

&:hover {
background-color: $primary;
color: $white;

.taxonomy-count{
color: $dark!important;
}
}

&:hover::before {
background: $primary;
}
}

// Example for simple tags layout
.taxo-text-tags {

.taxonomy-term {
background: none;
border-width: 0;
border-radius: 0;
color: $gray-600;
font-size: 1em;
line-height: 1.5em;
min-height: 1.5em;
max-width: 100%;
padding: 0;
position: relative;
margin: 0;
text-decoration: none;
-webkit-clip-path: none;
clip-path: none;

&:hover {
background: none;
color: $link-color;

.taxonomy-count{
color: $dark!important;
}
}

&:hover::before {
background: none;
}
}

li + li::before {
content: "|";
color: $gray-600;
margin-right: 0.2em;
}

.taxonomy-count {
font-size: 1em;
line-height: 1.25em;
display: inline-block;
padding: 0;
margin: 0;
text-align: center;
border-radius: 0;
background: none;
vertical-align: super;
font-size: 0.75em;
}

.taxonomy-term:hover .taxonomy-count {
color: $link-color !important;
}
}

// Example for icon tags
.taxo-fruits {

.taxonomy-term[data-taxonomy-term]::before {
font-style: normal;
font-variant: normal;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
font-family: "Font Awesome 5 Free";
// font-weight: 900;
padding-right: 0.5em;
font-size: 2em;
min-width: 1.5em;
display: inline-block;
}

.taxonomy-term[data-taxonomy-term="apple"]::before {
content: "\f5d1";
color: red;
}

.taxonomy-term[data-taxonomy-term="carrot"]::before {
content: "\f787";
color: orange;
}

.taxonomy-term[data-taxonomy-term="lemon"]::before {
content: "\f094";
color: limegreen;
}

.taxonomy-term[data-taxonomy-term="pepper"]::before {
content: "\f816";
color: darkred;
}

.taxonomy-term {
background: none;
border-width: 0;
border-radius: 0;
color: $gray-600;
font-size: 1em;
line-height: 2.5em;
max-width: 100%;
padding: 0;
position: relative;
margin: 0;
text-decoration: none;
-webkit-clip-path: none;
clip-path: none;

&:hover {
background: none;
color: $link-color;

.taxonomy-count{
color: $dark!important;
}
}

&:hover::before {
background: none;
text-shadow: 0 0 3px $gray-900;
}
}

.taxonomy-count,
.taxonomy-label {
display: none;
}

&.taxonomy-terms-article {
margin-bottom: 1rem;

.taxonomy-title {
display: none;
}
}
}

.taxonomy-taxonomy-page {
max-width: 800px;
margin: auto;

h1 {
margin-bottom: 1em;
}
}

.article-meta {
margin-bottom: 1.5rem;
}

.article-teaser.article-type-docs h3 a:before {
display: inline-block;
font-style: normal;
font-variant: normal;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
font-family: "Font Awesome 5 Free";
content: "\f02d";
padding-right: 0.5em;
}

.article-teaser.article-type-blog h3 a:before {
display: inline-block;
font-style: normal;
font-variant: normal;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
font-family: "Font Awesome 5 Free";
content: "\f781";
padding-right: 0.5em;
}

.all-taxonomy-terms {
font-weight: 500;
line-height: 1.2;
font-size: 1.5rem;

&:before {
display: inline-block;
font-style: normal;
font-variant: normal;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
font-family: "Font Awesome 5 Free";
content: "\f122";
padding-right: 0.5em;
}
}
1 change: 1 addition & 0 deletions assets/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
@import "blocks/blocks";
@import "section-index";
@import "pageinfo";
@import "taxonomy";

@if $td-enable-google-fonts {
@import url($web-font-path);
Expand Down
4 changes: 4 additions & 0 deletions i18n/de.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ other = "Diese Seite durchsuchen…"
[ui_in]
other = "in"

# Used in sentences such as "All Tags"
[ui_all]
other = "alle"

# Footer text
[footer_all_rights_reserved]
other = "Alle Rechte vorbehalten"
Expand Down
Loading