Coder Social home page Coder Social logo

Comments (7)

aerni avatar aerni commented on June 3, 2024 1

I still can't reproduce this. Please whip up a fresh site that reproduces the issue and share the repo with me.

from statamic-advanced-seo.

aerni avatar aerni commented on June 3, 2024 1

Thank you, this helped a lot! Was able to fix it in a matter of minutes.

from statamic-advanced-seo.

aerni avatar aerni commented on June 3, 2024

I can't reproduce this issue. Everything works fine for me. Can you share more about your setup, versions, and what you've tried? Also, is this a multi-site?

from statamic-advanced-seo.

davidatkinswwt avatar davidatkinswwt commented on June 3, 2024

Alright so I poked around some more and think I've found the issue.

In my show.antlers.html file I am rendering another set of collections:

{{ collection:events }} {{ title }} {{ description }} {{ /collection:events }}

When I comment this section out the title works fine. Add it back in and I'm back to my issue above. I tried in another collection with a similar setup. Commenting out the section fixes the title issue when sharing but creates another of not being able to view the "see more" section.

from statamic-advanced-seo.

aerni avatar aerni commented on June 3, 2024

Can you please be more specific? Are you talking about a setup like the following? If yes, I still can't reproduce the issue. I get the correct title on whatever view I'm on.

<div>
    The page title: {{ title }}
</div>

<div>
    {{ collection:events }}
        <div>
            The events title: {{ title }}
        </div>
    {{ /collection:events }}
</div>

from statamic-advanced-seo.

davidatkinswwt avatar davidatkinswwt commented on June 3, 2024

Yes.

My folder structure is:
events/

  • index.antlers.html
  • show.antlers.html
// show.antlers.html

<div>
  Page Title: {{ title }}
</div>

// View more section 
<div>
  {{ collection:events :id:not="id" limit="3" sort="date:desc" paginate="true" as="items" }}
  <div>
    {{ items }}
    <div>
      Event: {{ title }}
    </div>
    {{ /items }}
  </div>
  {{ /collection:events }}
</div>

from statamic-advanced-seo.

davidatkinswwt avatar davidatkinswwt commented on June 3, 2024

https://github.com/davidatkinswwt/testsite

Still getting the same issue on this fresh install. Setup/flow is the same as the other site.

from statamic-advanced-seo.

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.