Skip to content

Commit

Permalink
Add metadata tags to post
Browse files Browse the repository at this point in the history
Contributes-to: #40
  • Loading branch information
nephros authored and Peter G. (nephros) committed May 23, 2023
1 parent c30ddb1 commit 3d23a3b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion qml/pages/MainPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,9 @@ Page {
SectionHeader { text: qsTr("Additional Information"); font.pixelSize: Theme.fontSizeLarge }
Separator { color: Theme.primaryColor; horizontalAlignment: Qt.AlignHCenter; width: page.width}
SectionHeader { text: qsTr("Additional Information") }
CatSelect { id: metacat }
CatSelect { id: metacat
onCategoryChanged: metatags["category"] = category;
}
TextArea{id: text_add;
width: parent.width; height: Math.max(implicitHeight, Theme.itemSizeLarge);
label: qsTr("Add any other information")
Expand Down Expand Up @@ -503,6 +505,8 @@ Page {
// add footer:
+ "---- \n"
+ "<div align='right'><small><i>" + infoFooter + "</i></small></div>\n"
// add meta tags:
+ metatagsToComment()
+ "";
return payload;
}
Expand Down

0 comments on commit 3d23a3b

Please sign in to comment.