-
Notifications
You must be signed in to change notification settings - Fork 16
Enhancements 34, 35, 36, 50 #40
Changes from 1 commit
cdb9a6f
60b4467
c5f94aa
8d94d4a
edb7a81
cc2e8a2
b55a3f2
82d1146
3400467
6ae369e
8faed67
9736809
7df7453
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,6 +66,9 @@ | |
|
||
$font-family-headers: "Fira Sans" | ||
|
||
.logo | ||
max-width: 200px | ||
|
||
.breadcrumb | ||
li | ||
list-style: none | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{{ define "main" }} | ||
{{ partial "home/hero.html" . }} | ||
{{ partial "home/content.html" . }} | ||
{{ partial "home/cncf-status.html" . }} | ||
{{ end }} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
{{ with site.Copyright }} | ||
{{ $year := now.Year }} | ||
<footer class="footer"> | ||
<div class="container"> | ||
<p> | ||
© {{ $year }} {{ . }} | ||
{{ with site.Copyright }} | ||
© {{ $year }} {{ . }} </br> | ||
{{ end }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This renders oddly on the page. I don't know if the CNCF holds trademarks independently from the LF, and I would avoid adding custom boilerplate without clear guidance from legal. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the odd rendering is an artifact of the page responsiveness--this element tracks with the header, and not the content, so for some viewports it can look odd. I think we should probably open an issue for responsiveness generally, and probably one for mobile rendering specifically. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The double copyright lines has confused me for a couple weeks now. I see it on a lot of our project pages. I can try to find the issue i mentioned it in before. Specifically for the template though, the "Cloud Native Computing Foundation" comes in from the config.toml, which we are expecting people to change when they generate a site from the template, so in practice we'd never actually see both of:
So because the CNCF copyright mark should be removed as a part of the initial site setup work, I think I'm OK leaving this as is. That all said, how do we get that clear guidance from legal? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Issue for responsiveness issues: #52 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @zacharysarah – What renders as What I suggest for this, @nate-double-u:
The reason the second copyright line is there: the first copyright line ( There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That makes sense @celestehorgan, I'll add that change in; however, @zacharysarah, do we still need legal review? If so, at which stage of the process do we need it? It's already published at https://cncf-hugo-starter.netlify.app/, as follows: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
@celestehorgan is it reasonable/safe, at least in the template here, to use the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If we do it that way, likely we can take the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @nate-double-u I would actually do the following:
Let The reason I'd do it this way is because sometimes sites SEO-ify their There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @celestehorgan that sounds good, I'll make that update. |
||
© {{ $year }} The Linux Foundation. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our <a href="https://www.linuxfoundation.org/trademark-usage/">Trademark Usage</a> page. | ||
</p> | ||
</div> | ||
</footer> | ||
{{ end }} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<div class="col col-4"> | ||
{{ $repoUrl := .Site.Params.repositoryUrl }} | ||
{{ $filePath := .File.Path }} | ||
{{ $editUrl := print $repoUrl "/content/" $filePath }} | ||
{{ $editUrl := print $repoUrl "/blob/main/content/" $filePath }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 |
||
<a href="{{ $editUrl }}" class="btn btn-primary" target="_blank"> | ||
<span class="fas fa-pen"></span> Edit on GitHub | ||
</a> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<section class="container-xl"> | ||
<div class="row"> | ||
<div class="col-12"> | ||
<hr> | ||
<p> | ||
<a href="https://cncf.io"> | ||
nate-double-u marked this conversation as resolved.
Show resolved
Hide resolved
|
||
<img src="img/logos/cncf-color.png" width="200"> | ||
</a> | ||
</br> | ||
We are a Cloud Native Computing Foundation sandbox project. | ||
nate-double-u marked this conversation as resolved.
Show resolved
Hide resolved
|
||
</p> | ||
<p> | ||
KubeCon + CloudNativeCon North America Virtual | November 17-20, 2020 | Don’t Miss Out | <a href="https://events.linuxfoundation.org/kubecon-cloudnativecon-north-america/">Register Now</a> | ||
</p> | ||
nate-double-u marked this conversation as resolved.
Show resolved
Hide resolved
|
||
</div> | ||
</div> | ||
</section> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, sign-off on #36