- dict_param = "dict=mw"
%dl.entry
  %dt.lemma{"xml:lang" => "san-Deva"}
    %a{:href => "/dict/#{result[:lemma]}?#{dict_param}"}
      %dfn
        = result[:lemma]
  - result[:transliterations].each do |method, string|
    %dt.transliteration{"xml:lang" => "san-Latn"}
      - transliterated = result[:transliterations][method]
      %a{:href => "/dict/#{transliterated}?iscript=#{method}&#{dict_param}"}
        = transliterated
  - result[:senses].each do |sense|
    %dd.sense= sense

%dl.entry
  %dt.lemma{"xml:lang" => "san-Deva"}
    %a{:href => "/lemma/#{result[:lemma]}"}
      %dfn
        = result[:lemma]
  - result[:transliterations].each do |method, string|
    %dt.transliteration{"xml:lang" => "san-Latn"}
      - transliterated = result[:transliterations][method]
      %a{:href => "/lemma/#{transliterated}?iscript=#{method}"}
        = transliterated
  - result[:senses].each do |sense|
    %dd.sense= sense

Use the '/lemma' base URI for single lemmas
Use the '/lemma' base URI for single lemmas
