Giter VIP home page Giter VIP logo

Comments (5)

tigt avatar tigt commented on September 27, 2024

We currently automatically get that contributor information from GitHub’s API. That only provides us the URL of their GitHub profile, unfortunately, but it does show their elsewhere-on-the-web URLs on those profiles?

For example, the Contributors HTML on the Getting Started docs page looks like:

<div class="contributors">
  <a href="https://github.com/DylanPiercey" class="contributor">
    <img src="https://avatars.githubusercontent.com/u/4985201?v=4" alt="" class="photo">
    <span class="name">DylanPiercey</span>
  </a>
  <a href="https://github.com/mlrawlings" class="contributor">
    <img src="https://avatars.githubusercontent.com/u/1958812?v=4" alt="" class="photo">
    <span class="name">mlrawlings</span>
  </a>
  <a href="https://github.com/marko-js/marko/blob/main/packages/marko/docs/getting-started.md" class="contributor you">
    <div class="photo"><span class="icon">+</span></div>
    <span class="name">You?</span>
  </a>
</div>

What page were you not seeing anchors on?


EDIT: Hm, the GitHub API page for User data does list a URL under the blog key and a twitter_username key.

from marko.

Nikolice avatar Nikolice commented on September 27, 2024

What page were you not seeing anchors on?

The main page… I just see “a wall” of photos-&-pictures (of contributors) under the “Join the Community”. And it is not in the “footer” (my mistake), but within the last <section> of <main>: inside its <div class="home-community__contributors">… That <div> – contains just <img>s (which – are not wrapped in <a>s); however, these <img>s do contain URLs of GitHub-profiles, within their src-attribute!

At the same time – I do see “active” (anchored?) images (of contributors) on the «Getting Started»-docs page.


… Finally – here is the place to update the code!

It's here:

<for|contributor| of=body>

from marko.

Nikolice avatar Nikolice commented on September 27, 2024

marko-js/website#89 — the pull request!

from marko.

Nikolice avatar Nikolice commented on September 27, 2024

It seems, I posted this issue on a wrong place: «marko-js/marko» instead of «marko-js/website» (among the repositories).

from marko.

DylanPiercey avatar DylanPiercey commented on September 27, 2024

Looks like we forgot to close this 😓

from marko.

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.