Skip to content

bloghoster/templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Templates

Here is weblog templates for Bloghoster.org

Tags & Templates Guide

Making custom changes to your template is easy, but you will need to know how to use weblog tags. These tags work with the HTML in your template to create the content on your weblog.

How Variables Work

Variables begin with <% and end with %>. They can be used to output various bits of content on your weblog. For example, placing <%Title%> in your template will output the title of your weblog. Tags begin with <> and end with </>. Any content between them is modified in some way, or looped over and outputted multiple times. For example, placing <Entry><%EntryTitle%></Entry> in your template will display the title of each of your entries.

Tags & Variables List and Descriptions

Below is a full list of the weblog tags and variables available to you:

  • <%WindowTitle%> - Weblog title and current page title. This tag will output the title of your weblog along with the page that you are viewing. It can be used anywhere in your template, though it is specifically designed to maximize searchability when used between the <title></title> tags.

  • <%Title%> - Weblog title. This tag will output the title of your weblog, which you specify in your Profile. You can use this anywhere on your template.

  • <%Description%> - Weblog description. This tag will output a brief description of your weblog, which you specify in your Profile.

  • <%Avatar%> - Weblog owner's avatar URL. This tag will output the URL to the weblog owner's avatar, which he/she specifies on the Edit My Profile page if avatars are allowed. Generally, this is used inside an tag, for example:

    <img src="<%Avatar%>" alt="">

  • <%Email%> - Weblog owner's email address.

  • <%Calendar%> - The blog's calendar.

  • <%MainPageURL%> - Weblog's main page URL.

  • <%ProfileURL%> - Weblog owner's profile URL.

  • <%ArchiveURL%> - Weblog's archive page URL.

  • <%FriendsPageURL%> - Weblog's friends page URL.

  • <%SiteFeedURL%> - Weblog's RSS feed URL.

  • <%AlbumURL%> - Photo Album URL

  • <%PodcastURL%> - Podcast Feed URL

  • <IfMainPage> </IfMainPage> - Contents only display on the main page.

  • <IfEntryPage> </IfEntryPage> - Contents only display on the view entry page.

  • <IfArchivePage> </IfArchivePage> - Contents will only display on the archive page.

    • <%ArchiveInfo%> - Weblog's archive list.
  • <IfFriendsPage> </IfFriendsPage> - Contents will only display on the friends page.

  • <Link> </Link> - Displays your weblog's custom links.

    • <%LinkTitle%> - Link title.
    • <%LinkURL%> - Link URL.
  • <Friends> </Friends> - Displays your list of friends.

    • <%FriendUsername%> - Friend's username.
    • <%FriendURL%> - Friend's weblog URL.
  • <Members></Members> - Displays the list of members for this weblog.

    • <%MemberUsername%> - Member's username.
    • <%MemberURL%> - Member's profile URL.
  • <Categories> </Categories> - Displays this weblog's entry categories.

    • <%Category%> - Category name.
    • <%CategoryURL%> - Category URL.
  • <RecentEntry> </RecentEntry> - Displays a list of your recent entries.

    • <%RecentEntryTitle%> - Recent Entry's title.
    • <%RecentEntryDate%> - Recent Entry's date.
    • <%RecentEntryTime%> - Recent Entry's time.
  • <Entry> </Entry> - Displays this weblog's entries.

    • <%EntryTitle%> - Entry title.
    • <%EntryAuthor%> - Author's username.
    • <%EntryAuthorAvatar%> - Author's avatar URL.
    • <%EntryAuthorURL%> - Author's profile URL.
    • <%EntryDate%> - Entry date.
    • <%EntryTime%> - Entry time.
    • <%EntryBody%> - Entry main content.
    • <%EntryURL%> - Entry permanent URL.
    • <SendThisLink> </SendThisLink> - Entry "Send This Link" URL.
    • <IfCategoriesAllowed> </IfCategoriesAllowed> - Contents will only display if the administrator has enabled entry categories.
      • <%EntryCategory%> - Entry category.
    • <IfCommentsAllowed> </IfCommentsAllowed> - Contents will only display if comments are allowed on this entry.
      • <IfCommentPostAllowed> </IfCommentPostAllowed> - Contents will only display if the viewer is allowed to post comments on this entry.
      • <%CommentPostURL%> - "Post Comment" URL.
      • <%EntryCommentCount%> - Number of comments on this entry.
      • <Comment> </Comment> - Displays the comments on this entry.
        • <CommentEdit> </CommentEdit> - Edit Comment link.
        • <CommentDelete> </CommentDelete> - Delete Comment link.
        • <%CommentTitle%> - Comment title.
        • <%CommentAuthor%> - Comment's author username/nickname.
        • <%CommentAuthorAvatar%> - Comment's author avatar.
        • <%CommentAuthorIP%> - Comment's author IP address.
        • <%CommentDate%> - Comment date.
        • <%CommentTime%> - Comment time.
        • <%CommentBody%> - Comment's main content.
        • <%CommentURL%> - Comment's permanent URL.
    • <IfTrackbacksAllowed> </IfTrackbacksAllowed> - Contents will only display if trackbacks are allowed on this entry.
      • <%EntryTrackbackURL%> - Entry's trackback URL.
      • <%TrackbackCount%> - Total number of trackbacks on this entry.
      • <%TrackbackRDF%> - The RDF trackback metadata for this entry.
      • <Trackback> </Trackback> - Displays the trackbacks on this entry.
        • <TrackbackDelete> </TrackbackDelete> - Delete Trackback link.
        • <%TrackbackBlogName%> - The sender's weblog name for this trackback.
        • <%TrackbackURL%> - The sender's weblog URL for this trackback.
        • <%TrackbackTitle%> - Trackback title.
        • <%TrackbackExcerpt%> - Trackback content.
        • <%TrackbackDate%> - Trackback date.
        • <%TrackbackTime%> - Trackback time.
  • <IfPages> </IfPages> - Contents will only display if the weblog has more than one page.

    • <EarlierLink> </EarlierLink> - Links the contents to the previous page URL.
    • <LaterLink> </LaterLink> - Links the contents to the next page URL.
    • <%CurrentPage%> - The current page number.
    • <%TotalPages%> - The total number of pages.

Releases

No releases published

Packages

No packages published

Languages