Resume 2

Import the Resume 2 design and it brings blocks and content types of its own, on top of the main Canvas library. Read this page when you are working on a site built from Resume 2 and meet a block you cannot find in the main reference.

These items stay registered on every site so that content you have already imported keeps rendering, and they appear in the block inserter only where the design is in use.

Blocks this design adds

Resume Projects

canvas-core/resume2-projects

Display portfolio projects as resume project cards, or one part of a project page (its tags, its links, the other projects). In the block inserter it is named Canvas Resume Projects.

Select the block on a page and its own settings open in the sidebar, in the panels below:

The Resume Projects settings in the block editor sidebar

Layout

  • LayoutDefaultProject Cards

    Which part of the projects design this block draws. Project Cards lists them; each "Single Project" choice renders one part of the project page you place it on.

    ChoicesProject CardsSingle Project - TagsSingle Project - LinksSingle Project - Other Projects

Query

  • ItemsDefault0

    0 shows every project. The other-projects row shows 3 when this is 0.

  • Portfolio CategoryDefaultEmpty

    Slug of one portfolio category to show only those projects. Leave empty for every project.

  • Order ByDefaultMenu Order

    What decides the sequence of the cards. Menu Order lets you arrange them by hand.

    ChoicesMenu OrderDateTitle

  • OrderDefaultAscending

    Which end of that sequence comes first.

    ChoicesAscendingDescending

Display

  • Grid ClassesDefaultrow g-4

    Class names on the row holding the cards.

  • Column ClassesDefaultcol-lg-4 col-md-6

    Class names on the column around each card, which sets how many cards share a row.

  • Last Odd Card ClassesDefaultmx-md-auto mx-lg-0

    Added to the last column when the number of cards is odd, for example to centre a lone card on two-column screens.

  • Link Project NameDefaultOff

    Link each project name to its own page.

  • Project Name TagDefaultH3

    Heading level of each project name, so the outline stays in order under the heading above the cards.

    ChoicesH2H3H4

  • Image Overlay LinksDefaultOn

    Repeat the project links over the image when a visitor hovers the card.

  • Repository Link TextDefaultGitHub

    Wording of the link to each project's Project URL. Leave empty to hide it.

  • Repository Link IconDefaultfa-brands fa-github

Style

  • Badge Inline StyleDefaultdisplay:inline-flex;align-items:center;gap:5px;font-family:'Inter',sans-serif;font-size:12px;font-weight:600;color:#16a34a;padding:7px 12px;background:#f0fdf4;border-radius:6px;border:1.5px solid #bbf7d0;

    Styling on the badge a project shows in place of its second link.

  • Badge Icon Inline StyleDefaultfont-size:11px;

Was this page helpful?