Closed devopstoday11 closed 1 year ago
Hello @devopstoday11!
To solve the issue, please follow these steps:
search-modal.html
file in the layouts/partials/
directory.Replace the existing code:
<a class="block" href="${innerItem.url}">
<p class="text-dark mb-0 lh-base">${innerItem.title}</p>
<p class="small text-muted mt-1 mb-0 lh-base">${contentValue}</p>
</a>
With the updated code:
<a class="block" href="${innerItem.url}">
<p class="text-dark mb-0 lh-base">${innerItem.title}</p>
<span></span>
<p class="small text-muted mt-1 mb-0 lh-base">${contentValue}</p>
</a>
Let me know if you need further assistance.
@tfsumon , I see only 99 lines in that file. I am using my "chandu" branch. I did find similar code snippet but not fully matching with the "existing code" you mentioned, hence I am confused now. Take my branch "chandu" and check please.
Also, resolve the conflicts in your PR. Looks like there are still conflicts.
Go to line number 91
Replace Following
`<a class="block" href="${innerItem.url}"><p class="text-dark mb-0 lh-base">${innerItem.title}</p><p class="small text-muted mt-1 mb-0 lh-base">${contentValue}</p></a>`
With the updated code:
`<a class="block" href="${innerItem.url}"><p class="text-dark mb-0 lh-base">${innerItem.title}</p><span></span><p class="small text-muted mt-1 mb-0 lh-base">${contentValue}</p></a>`
Here I just added blank <span></span>
tag after ${innerItem.title}</p>
I have recently created a pull request. Please review it, and there are no merge conflicts.
@tfsumon
Thank you. After adding <span></span>
I am able to run the site locally with the latest hugo version.
I will check the PR now.
@tfsumon , please check https://github.com/intelops/external-docs/pull/76#issuecomment-1774579502
@tfsumon , when I run " hugo server " after updating my local hugo version to the latest one, I am not able to run the site. Looks like there is version compatibility issues with the template's theme. Please fix. I am not able to test any changes without this fix.