Skip to content
Snippets Groups Projects
Verified Commit aeaf88f3 authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman :boom:
Browse files

Fixed microblog

parent f8c1659c
No related branches found
No related tags found
No related merge requests found
......@@ -118,6 +118,14 @@ Go to your GitLab project and find the settings on CI/CD and under there you wil
* Change the /content/_index.md to suite your needs
* Modify /layouts/partials/top_list_* to represent the section titles you want to use.
### Microblog Side Menu
We also need to configure the sidebar's microblog to point to your alias account. If you dont have one you may want to disable this entierly.
It is pretty simpler first just go here and fill out the form: https://www.mastofeed.com/ . Feel free to set the UI scale to whatever you want but I find 80 works best. Also select the light theme to it matches. Make sure you uncheck show header as well.
Just copy and paste the iframe result into the /layouts/partials/microblog_iframe.html
## Final steps
All that is left now is to push your code to your GitLab repo. At that point the .gitlab-ci.yaml file should automatically do the rest. After a few minutes you should have a running static site with full ActivityPub support. Enjoy.
......
<div class='menu microblog'>
<span class='menu-heading'> Microblog </span>
<iframe allowfullscreen sandbox="allow-top-navigation allow-scripts allow-popups allow-popups-to-escape-sandbox" style='border-width: 0' width='100%' height="800" src="https://www.mastofeed.com/apiv2/feed?userurl=https%3A%2F%2F{{ (urls.Parse site.Params.secondaryApHost).Hostname }}%2Fusers%2F{{ site.Params.secondaryApUser }}&theme=light&size=80&header=false&replies=false&boosts=false"></iframe>
{{ partial "microblog_iframe.html" . }}
<div class="fill-vert"></div>
<div class="more">
<a class='btn btn-default btn-m pull-right' href='{{ site.Params.secondaryApHost }}/@{{ site.Params.secondaryApUser }}/' style='align:right;text-align: right;align-content: right;'>More ... </a>
......
<iframe allowfullscreen sandbox="allow-top-navigation allow-scripts allow-popups allow-popups-to-escape-sandbox" width="400" height="800" src="https://www.mastofeed.com/apiv2/feed?userurl=https%3A%2F%2Fhttps%3A%2F%2Ffedipage.com%2Fusers%2Ffedipage&theme=light&size=80&header=false&replies=true&boosts=true"></iframe>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment