Blog not rendering using middleman - ruby

I created a middleman blog using this tutorial and documentation. Since I had an older blog, I copied few of my posts and pasted into source folder.
Now when I start server, I don't see any of my posts. Can someone help me with this?
Latest code is hosted on github-pages.

Resolved this one by moving my posts to source/blog folder.
My config.rb I had following set up as -
blog.prefix = "blog"
Hence, it was looking into blog folder for articles. Moving them resolved my issue.

Related

Jekyll blog theme now showing blog posts on GitLab Pages

I've been using the Emerald jekyll theme for my blog on GitHub Pages. It all works great on GitHub, but I've wanted to move to GitLab.
I got the blog working with all necessary gems (like jekyll and jekyll-paginate), but the blog posts aren't working and I get 404.
Test it live here
I made the repo public so everyone can have a look and possibly identify my problem.
Just add a .html extension to your links.
https://remieditor.gitlab.io/blog/plausible-gitlab-moving.html
Github provides an option for serving without the extension, however I don't believe that Gitlab allows this yet. See this thread: https://gitlab.com/gitlab-org/gitlab-pages/issues/95
Change your permalink configuration:
permalink: /:title:output_ext
Since GitLab 11.8 (February 2019) this should work
.html extensions are now automatically resolved for Pages sites
A file in your Pages site called /sub-page.html can now also be accessed as /sub-page, giving you more options over how your site appears to your users.
See documentation and gitlab-org/gitlab-pages issue 95

What theme was used to make the Jekyll homepage

Was the Jekyll home page made with Jekyll? And if so what theme did they use and is it publicly available.
I recently noticed that the site dev assets looks very similar to the Jekyll home page and uses Jekyll, however while looking through the source I could not find the name of the theme in any of the config files.
Thanks in advance for any help.
I went through the docs/ directory of the jekyll repository. They're definitely using Jekyll. In _sass/, only two files are not original:
_gridism.scss, GitHub Repo: gridism
_normalize.scss, GitHub Repo: normalize.css
All the rest are essentially original, as in the developers of the website made the theme themselves.

Jekyll not Generating Folders

I am trying to use Jekyll to build my portfolio site which is hosted through Github Pages. However, after going through the setup process and watching some tutorials this is what I have in my project folder:
As you'll notice, it seems to be missing some important folder such as _layouts, but it also seems to be working fine. What am I missing here?
The tutorials or docs you saw may be missing gem themes, Jekyll 3.2.0 introduced gem based themes: By default you won't have these typical directories:
/assets
/_layouts
/_includes
/_sass
But you can always overwrite them or copy to your jekyll instance to modify them.

Silverstripe - How to Allow Comments For A Blog Entry

I'm setting up my first ever site in Silverstripe and I'm having trouble with the silverstripe blog module (https://github.com/silverstripe/silverstripe-blog/tree/0.3). I've installed it and the two supporting modules comments (https://github.com/silverstripe/silverstripe-comments) and grid-field-bulk-editing tools and they all seem to have installed without incident. Finally, I've checked the box in the setting for my blog holder and my first test blog post to allow comments. However, when I go to that test blog post I see no way for a reader to post any comments. What did I miss?
Thanks in advance for any help anyone can provide!
I deleted the module, then re-installed it with composer as wmk suggested and it seems to work now. Thanks!

How to make a forum using webmatrix.

I have an excellent idea of making a forum. And for that I have learnt some HTML, CSS and JS (what else should I learn?). While learning I found that Webmatrix is a great tool for making websites. I have made a wordpress site using webmatrix. I see it has many more options like joomla, drupal etc. Is there any option through which I can make a forum?
If yes which one should I choose?
I have already searched a lot for it but found no relevant result.
Are you looking to install a forum someone else has already written, or build your own from scratch? If you're looking for an out of the box forum, I would suggest installing phpBB from the app gallery. You can get there in WebMatrix by going New -> App Gallery -> Search for phpBB.
If you're looking to build one with ASP.NET Web Pages from scratch, I would suggest starting with the docs here:
http://www.asp.net/web-pages
A great example to follow for this path is here:
http://www.webpagescms.com/
Hope this helps. Happy coding!

Resources