anchor.diff:         ,@body)))
   
   (defhtml rightlinks (rightlinks sociallinks)
  -  (:div :class "header rightlinks"
  +  (row :class "header rightlinks"
           (rightlinks-desktop rightlinks sociallinks)
           (rightlinks-mobile rightlinks sociallinks)))
   
   (defhtml rightlinks-desktop (rightlinks sociallinks)
     (desktop-only
  -    (:div
  -     (:div (generate-sociallinks sociallinks)
  -           (generate-rightlinks rightlinks))
  -
  -     (login-links-desktop))))
  +    (col 12
  +     (row (col 12
  +               (:div (generate-sociallinks sociallinks)
  +                     (generate-rightlinks rightlinks))))
  +
  +     (row (col 12 (login-links-desktop))))))
   
   (defhtml rightlinks-mobile (rightlinks sociallinks)
     (mobile-only
  -    (:div
  -     (:div :class "btn-group mobile header rightlinks"
  -           (:a :class "btn btn-default btn-sm dropdown-toggle"
  -               :data-toggle "dropdown"
  -               "Menu " (:span :class "caret"))
  -           (:ul :class "dropdown-menu pull-right"
  -                (generate-dropdown-links rightlinks)
  -                (generate-dropdown-links-social sociallinks)))
  -     (:br)
  -     (:br)
  -     (login-links-mobile))))
  +    (col 12
  +     (row (col 12
  +               (:div :class "btn-group mobile header rightlinks"
  +                     (:a :class "btn btn-default btn-sm dropdown-toggle"
  +                         :data-toggle "dropdown"
  +                         "Menu " (:span :class "caret"))
  +                     (:ul :class "dropdown-menu pull-right"
  +                          (generate-dropdown-links rightlinks)
  +                          (generate-dropdown-links-social sociallinks)) )))
  +     (row (col 12 (login-links-mobile))))))
   
   (defhtml login-links-desktop ()
     (if (logged-in-p)
  
positive.code:                       (getf thread :|locked|)
                        (getf thread :|stickied|)))))
  
  (defhtml thread-row (id subject tag post-count latest-post-time locked stickied)
    (row
      (col 12 :class "thread"
           (link subject (thread-url id))
           (:br)
           (:span :style "font-size: 12px; color: gray;"
                  (:raw
                   (join-string-list
                    (list
  
negative.code:   (execute-query-loop thread query ()
      (:div :style ""
            (thread-row (getf thread :|threadid|)
                        (getf thread :|postid|)
                        (getf thread :|threadsubject|)
                        (getf thread :|tag|)
                        (getf thread :|postcount|)
  