# Embedding Discourse in static sites does not work: Discourse Posts are not generated for blog entries

**URL:** <https://meta.discourse.org/t/embedding-discourse-in-static-sites-does-not-work-discourse-posts-are-not-generated-for-blog-entries/31869>\
**Category:** Product Support\
**Created:** [2015 年8 月 7 日 12:53 UTC](https://meta.discourse.org/t/embedding-discourse-in-static-sites-does-not-work-discourse-posts-are-not-generated-for-blog-entries/31869 "2015-08-07T12:53:29Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

作者： ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
发布日期： [2015 年8 月 10 日 19:28 UTC](https://meta.discourse.org/t/embedding-discourse-in-static-sites-does-not-work-discourse-posts-are-not-generated-for-blog-entries/31869/9 "2015-08-10T19:28:58Z")

</div>

Okay, I’ve made it really robust now. It will support URLs with http/s and even trailing paths:

[https://github.com/discourse/discourse/commit/b02d624503e0bf24840fabfa9b8433250204478f](https://github.com/discourse/discourse/commit/b02d624503e0bf24840fabfa9b8433250204478f)

---

_[View the full topic](https://meta.discourse.org/t/embedding-discourse-in-static-sites-does-not-work-discourse-posts-are-not-generated-for-blog-entries/31869)._
