Coder Social home page Coder Social logo

Comments (10)

nsmith5 avatar nsmith5 commented on August 29, 2024 1

@ltagliaferri and @erikaheidi

from edu.

ltagliaferri avatar ltagliaferri commented on August 29, 2024 1

@erikaheidi — do you think we can remove some of the breadcrumbs or collapse them?

from edu.

erikaheidi avatar erikaheidi commented on August 29, 2024

I'm looking at this now! I can truncate titles, will do some testing and share here screenshots soon.

from edu.

erikaheidi avatar erikaheidi commented on August 29, 2024

This is how it looks with titles truncated. For the breadcrumbs I think it works, but for the menu I am not quite sure, since it ends up looking the same as the other section.
@ltagliaferri

Screenshot from 2022-09-01 15-13-16

from edu.

erikaheidi avatar erikaheidi commented on August 29, 2024

Removing breadcrumbs and leaving menu untouched:

Screenshot from 2022-09-01 15-16-39

from edu.

erikaheidi avatar erikaheidi commented on August 29, 2024

One more: menu truncated at 25 chars; breadcrumbs enabled with truncate at 20 chars for the article title.

Screenshot from 2022-09-01 15-54-12

from edu.

ltagliaferri avatar ltagliaferri commented on August 29, 2024

Following Dev Ed sync — we also would like to make the left menu items left-aligned

Screen Shot 2022-09-01 at 11 19 33 AM

Possible to turn off the first two breadcrumbs? Home and Chainguard for example?

from edu.

nsmith5 avatar nsmith5 commented on August 29, 2024

Am I right in thinking that the "title" that SEO cares about is the actual <title> tag of the page? If that is the case perhaps we can change our approach and just make that part of the Hugo page metadata like:

+ seoTitle: "Chainguard Enforce on Cloud Shell User Onboarding"
+ title: "Cloud Shell User Onboarding"
- title: "Chainguard Enforce on Cloud Shell User Onboarding"
type: "article"
lead: "Setup of Chainguard Enforce with Google Cloud Shell and Kind"
description: "Set up Chainguard Enforce with Google Cloud Shell and Kind"
date: 2022-15-07T15:22:20+01:00
lastmod: 2022-15-07T15:22:20+01:00
draft: false
images: []
menu:
  docs:
    parent: "enforce-kubernetes"
weight: 620
toc: true

Then we set the <title> tag using this seo title metadata we can have something seo optimized (context complete and full of keywords) and keep the titles on the page a little more light and simple. I think the location that this is set in our upstream hugo theme is right here:

https://github.com/h-enk/doks/blob/60768e606844d16d50c7b8c111a866792ee26435/layouts/partials/head/seo.html#L16

As an example it looks like the Hashicorp Vault docs took an approach like this. You can see the <title> tag is good for SEO from this seach:

Screenshot from 2022-09-01 08-39-15

But on the page the title is a little more simplified

Screenshot from 2022-09-01 08-39-40

I think their approach is basically just to append | Vault by Hashicorp to every article title it seems.

from edu.

ltagliaferri avatar ltagliaferri commented on August 29, 2024

@erikaheidi is there any progress on the breadcrumbs?

from edu.

ltagliaferri avatar ltagliaferri commented on August 29, 2024

@erikaheidi can you move this to truncated breadcrumbs?

from edu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.