Jane_Jojo
(Jane Jojo)
12.Март.2023 20:59:16
1
Контекст:
I use discourse as the commenting system and here’s an example
[IMG_1857]
When you look at it from a mobile, you can see the content outside of the viewport.
How can I fix it to be responsive?
Here’s the code I use
<div id="comments" class="ct-post-end-section">
<div id='discourse-comments'></div>
<script type="text/javascript">
DiscourseEmbed = { discourseUrl: 'https://comments.alittlebitofspice.com/',
discourseEmbedUrl: '<?php echo get_permalink(); ?>' };
(…
Я уже давно счастливый пользователь, но со временем узнал, что отсутствие активной НАТИВНОЙ системы комментариев негативно сказывается на SEO для блогеров о еде. При встраивании через IFRAME Google НЕ распознаёт комментарии Discourse для каждого поста в блоге как отдельный контент. После четырёх лет работы системы комментариев это сильно ударило по мне, особенно когда Google ищет индикаторы свежей активности.
Подумывал ли кто-нибудь о решении этой проблемы?
@Jane_Jojo Я использую Discourse в качестве платформы для ведения блога…
Вы можете ознакомиться с моим методом здесь…
An alternative to Page Publishing - another method is to use CSS to remove the unwanted elements on a regular Topic Post, while preserving all of the functionality (i.e. Javascripts in installed Theme Components, and CSS styling, etc.)
Tags in the composer can be used to selectively apply formatting to a specific Topic Post.
For example, on my site I achieve this by pasting the following CSS into my theme’s CSS in the Common tab:
/********************** REMOVE THINGS FROM LAYOUT USING TAGS **…
А мой сайт можно посмотреть здесь…
This is a place for sharing innovations and conversations about simplifying. I am eager to simplify. I revisit, rework, and reinvent everything, continuously, in my mission to simplify, and to recognize and remove barriers.